mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-17 06:10:15 +00:00
menu button: Minor cleanup
Preserve the symmetry in set_align_widget_pointer.
This commit is contained in:
parent
c0c1774b01
commit
03417cf864
@ -890,7 +890,7 @@ set_align_widget_pointer (GtkMenuButton *menu_button,
|
||||
|
||||
priv->align_widget = align_widget;
|
||||
|
||||
if (align_widget)
|
||||
if (priv->align_widget)
|
||||
g_object_add_weak_pointer (G_OBJECT (priv->align_widget), (gpointer *) &priv->align_widget);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user