display: hide and unref the screen label when destroyed

Make sure the screen label is not left visible after the panel has been
destroyed.
This commit is contained in:
Thomas Wood 2010-07-12 16:46:15 +01:00
parent eb52e24f6c
commit 844a957ade
2 changed files with 4 additions and 2 deletions

View file

@ -2377,12 +2377,14 @@ destroy_app (App *app)
gnome_rr_screen_destroy (app->screen);
g_object_unref (app->client);
g_object_unref (app->builder);
gnome_rr_labeler_hide (app->labeler);
g_object_unref (app->labeler);
g_free (app);
}
GtkWidget*
run_application ()
run_application (void)
{
#ifndef UIDIR
#define UIDIR "."

View file

@ -1,3 +1,3 @@
GtkWidget* run_application ();
GtkWidget* run_application (void);