gui: Fix Glib warnings for dialogs in realize and configure callbacks.
authorBen Pfaff <blp@cs.stanford.edu>
Sat, 9 Apr 2011 23:50:44 +0000 (16:50 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Sat, 9 Apr 2011 23:50:44 +0000 (16:50 -0700)
commita9faf7c6614e0cbc5532f4c9bf9afcf92d52209e
tree6ad495bb0db23bc15c9feae6df7ea2a9d129cc46
parent36be36022d2a73818e514be8f9a9ccbe9160165f
gui: Fix Glib warnings for dialogs in realize and configure callbacks.

The GtkBuilder documentation says:

    Prior to 2.20, GtkBuilder was setting the "name" property of
    constructed widgets to the "id" attribute. In GTK+ 2.20 or newer,
    you have to use gtk_buildable_get_name() instead of
    gtk_widget_get_name() to obtain the "id", or set the "name"
    property in your UI definition.

This commit fixes the problem by switching from using the "name"
property to calling gtk_buildable_get_name().
src/ui/gui/helper.c
src/ui/gui/psppire-dialog.c