GtkApplication: properly unexport x11 menus

https://bugzilla.gnome.org/show_bug.cgi?id=688362
This commit is contained in:
Andrew Potter 2012-11-15 08:45:00 +01:00 committed by Sébastien Wilmet
parent 7ace438166
commit 00795e8d05

View File

@ -289,12 +289,12 @@ gtk_application_startup_x11 (GtkApplication *application)
static void
gtk_application_shutdown_x11 (GtkApplication *application)
{
application->priv->session_bus = NULL;
application->priv->object_path = NULL;
gtk_application_set_app_menu_x11 (application, NULL);
gtk_application_set_menubar_x11 (application, NULL);
application->priv->session_bus = NULL;
application->priv->object_path = NULL;
g_clear_object (&application->priv->sm_proxy);
g_clear_object (&application->priv->client_proxy);
g_free (application->priv->app_id);