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:
parent
eb52e24f6c
commit
844a957ade
2 changed files with 4 additions and 2 deletions
|
@ -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 "."
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
|
||||
GtkWidget* run_application ();
|
||||
GtkWidget* run_application (void);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue