pike.git / src / post_modules / GTK2 / source / gtkhbox.pre

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtkhbox.pre:17:   //! Create a new horizontal box widget.   //! If all_same_size is true, all widgets will have exactly the same size.   //! hpadding is added to the left and right of the children.   {    pgtk2_verify_not_inited();    pgtk2_verify_setup();    {    if (TYPEOF(Pike_sp[-args]) == PIKE_T_INT) {    INT_TYPE uniformp,padding;    GtkWidget *gh; -  get_all_args("create",args,"%i%i",&uniformp,&padding); +  get_all_args(NULL,args,"%i%i",&uniformp,&padding);    gh=gtk_hbox_new(uniformp,padding);    THIS->obj=G_OBJECT(gh);    } else {    INIT_WITH_PROPS(GTK_TYPE_HBOX);    }    pgtk2_pop_n_elems(args);    }    pgtk2__init_this_object();   }