diff options
Diffstat (limited to 'widgets/misc/e-dropdown-button.c')
-rw-r--r-- | widgets/misc/e-dropdown-button.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/widgets/misc/e-dropdown-button.c b/widgets/misc/e-dropdown-button.c index 4054e4a254..dad8cc723f 100644 --- a/widgets/misc/e-dropdown-button.c +++ b/widgets/misc/e-dropdown-button.c @@ -207,9 +207,9 @@ e_dropdown_button_construct (EDropdownButton *dropdown_button, priv->menu = GTK_WIDGET (menu); - gtk_signal_connect_while_alive (GTK_OBJECT (priv->menu), "deactivate", - G_CALLBACK (menu_deactivate_cb), - dropdown_button, GTK_OBJECT (dropdown_button)); + g_signal_connect_object (priv->menu, "deactivate", + G_CALLBACK (menu_deactivate_cb), + dropdown_button, 0); } /** |