2 * DO NOT EDIT THIS FILE - it is generated by Glade.
20 lookup_widget (GtkWidget
*widget
,
21 const gchar
*widget_name
)
23 GtkWidget
*parent
, *found_widget
;
27 if (GTK_IS_MENU (widget
))
28 parent
= gtk_menu_get_attach_widget (GTK_MENU (widget
));
30 parent
= widget
->parent
;
32 parent
= (GtkWidget
*) g_object_get_data (G_OBJECT (widget
), "GladeParentKey");
38 found_widget
= (GtkWidget
*) g_object_get_data (G_OBJECT (widget
),
41 g_warning ("Widget not found: %s", widget_name
);