[glade/popover] popover menu editor: Fix wrong reference
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glade/popover] popover menu editor: Fix wrong reference
- Date: Mon, 2 Mar 2015 04:24:35 +0000 (UTC)
commit 46684c34241cfe132786cb7417b1764759122d68
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Mar 1 23:23:59 2015 -0500
popover menu editor: Fix wrong reference
There is no embed widget in the ui file, so don't refer to one.
plugins/gtk+/glade-popover-menu-editor.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/plugins/gtk+/glade-popover-menu-editor.c b/plugins/gtk+/glade-popover-menu-editor.c
index eb38d26..6267813 100644
--- a/plugins/gtk+/glade-popover-menu-editor.c
+++ b/plugins/gtk+/glade-popover-menu-editor.c
@@ -30,7 +30,7 @@ static void glade_popover_menu_editor_grab_focus (GtkWidget * widget);
struct _GladePopoverMenuEditorPrivate
{
- GtkWidget *embed;
+ GtkWidget *popover_editor;
};
G_DEFINE_TYPE_WITH_PRIVATE (GladePopoverMenuEditor, glade_popover_menu_editor, GLADE_TYPE_EDITOR_SKELETON)
@@ -43,7 +43,7 @@ glade_popover_menu_editor_class_init (GladePopoverMenuEditorClass * klass)
widget_class->grab_focus = glade_popover_menu_editor_grab_focus;
gtk_widget_class_set_template_from_resource (widget_class,
"/org/gnome/gladegtk/glade-popover-menu-editor.ui");
- gtk_widget_class_bind_template_child_private (widget_class, GladePopoverMenuEditor, embed);
+ gtk_widget_class_bind_template_child_private (widget_class, GladePopoverMenuEditor, popover_editor);
}
static void
@@ -59,7 +59,7 @@ glade_popover_menu_editor_grab_focus (GtkWidget * widget)
{
GladePopoverMenuEditor *editor = GLADE_POPOVER_MENU_EDITOR (widget);
- gtk_widget_grab_focus (editor->priv->embed);
+ gtk_widget_grab_focus (editor->priv->popover_editor);
}
GtkWidget *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]