[gtk+/wip/matthiasc/help-overlay] shortcuts: Fix a typo



commit 51bf0f8f6ec9f9d5c5f904b78565a4b6174cece3
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Oct 16 10:46:59 2015 -0400

    shortcuts: Fix a typo
    
    We were removing the wrong widget from the size group here, causing
    warnings now that we actually move these widgets between columns and
    thereby change their size groups.

 gtk/gtkshortcutsshortcut.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkshortcutsshortcut.c b/gtk/gtkshortcutsshortcut.c
index c659674..2a3d031 100644
--- a/gtk/gtkshortcutsshortcut.c
+++ b/gtk/gtkshortcutsshortcut.c
@@ -71,7 +71,7 @@ gtk_shortcuts_shortcut_set_title_size_group (GtkShortcutsShortcut *self,
                                              GtkSizeGroup         *group)
 {
   if (self->title_size_group)
-    gtk_size_group_remove_widget (self->title_size_group, GTK_WIDGET (self->accelerator));
+    gtk_size_group_remove_widget (self->title_size_group, GTK_WIDGET (self->title));
   if (group)
     gtk_size_group_add_widget (group, GTK_WIDGET (self->title));
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]