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

version» Context lines:

pike.git/src/post_modules/GTK2/source/gladexml.pre:161:    const char *s;    struct object *o1;    GtkWidget *widget;    get_all_args("get_widget_name",args,"%o",&o1);    widget=GTK_WIDGET(get_gobject(o1));    if (!widget)    Pike_error("GladeXML->get_widget_name: Invalid argument 1, wanted GTK2 object of type WIDGET.\n");    s=glade_get_widget_name(widget);    pgtk2_pop_n_elems(args);    push_text(s); -  g_free((void *)s); + /* Per documentation, don't free this */ + /* g_free((void *)s); */    }   }      int get_signal_id(GTK2.Widget widget)   //! Used to get the signal id attached to a GladeXML object.   {    pgtk2_verify_inited();    {    int id;    struct object *o1;