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

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtksizegroup.pre:37:   //! Properties:   //! int mode   //! The directions in which the size group effects the requested sizes of   //! its componenent widgets.      void create(int|mapping(string:mixed) mode_or_props)   //! Create a new group.   {    pgtk2_verify_not_inited();    pgtk2_verify_setup(); -  if (Pike_sp[-args].type==PIKE_T_INT) { +  if (TYPEOF(Pike_sp[-args]) == PIKE_T_INT) {    INT_TYPE mode;    GtkSizeGroup *gs;    get_all_args("create",args,"%i",&mode);    gs=gtk_size_group_new(mode);    THIS->obj=G_OBJECT(gs);    } else {    INIT_WITH_PROPS(GTK_TYPE_SIZE_GROUP);    }    pgtk2_pop_n_elems(args);    pgtk2__init_this_object();