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

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtkcolorselectiondialog.pre:15:      void create(string|mapping(string:mixed) title_or_props)   //! Create a new Color Selection Dialog   {    pgtk2_verify_not_inited();    pgtk2_verify_setup();    {    struct pike_string *title;    GtkWidget *gc;    if (TYPEOF(Pike_sp[-args]) == PIKE_T_STRING) { -  get_all_args("create",args,"%t",&title); +  get_all_args(NULL,args,"%t",&title);    ref_push_string(title);    f_string_to_utf8(1);    gc=gtk_color_selection_dialog_new(CGSTR0(Pike_sp[-1].u.string));    pop_stack();    THIS->obj=G_OBJECT(gc);    } else {    INIT_WITH_PROPS(GTK_TYPE_COLOR_SELECTION_DIALOG);    }    pgtk2_pop_n_elems(args);    }    pgtk2__init_this_object();   }