From b7f8552d60d53c02b1966d004e680242b92bbd8e Mon Sep 17 00:00:00 2001 From: waker Date: Sun, 9 Oct 2011 20:54:08 +0200 Subject: added gtk3 support to converter gui --- plugins/converter/support.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'plugins/converter/support.c') diff --git a/plugins/converter/support.c b/plugins/converter/support.c index 00aff298..ae0b71d5 100644 --- a/plugins/converter/support.c +++ b/plugins/converter/support.c @@ -27,7 +27,7 @@ lookup_widget (GtkWidget *widget, if (GTK_IS_MENU (widget)) parent = gtk_menu_get_attach_widget (GTK_MENU (widget)); else - parent = widget->parent; + parent = gtk_widget_get_parent (widget); if (!parent) parent = (GtkWidget*) g_object_get_data (G_OBJECT (widget), "GladeParentKey"); if (parent == NULL) @@ -142,3 +142,12 @@ glade_set_atk_action_description (AtkAction *action, } } +#if GTK_CHECK_VERSION(3,0,0) +GtkWidget * +gtk_combo_box_entry_new_text(void) { + GtkWidget *w = gtk_combo_box_text_new_with_entry (); +} +void +gtk_dialog_set_has_separator (GtkDialog *dlg, gboolean has) { +} +#endif -- cgit v1.2.3