Skip to content

Commit

Permalink
Fix about dialog logo leak
Browse files Browse the repository at this point in the history
  • Loading branch information
tails-developers authored and lanoxx committed Sep 15, 2014
1 parent ebcc436 commit a7e725b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/applet.c
Expand Up @@ -185,6 +185,8 @@ static void display_about_dialog (
char *logo_filename = g_build_filename (WINDOW_PICKER_MENU_UI_DIR, "window-picker-about-logo.png", NULL);
GdkPixbuf* logo = gdk_pixbuf_new_from_file(logo_filename, NULL);
gtk_about_dialog_set_logo (GTK_ABOUT_DIALOG(panel_about_dialog), logo);
if (logo)
g_object_unref (logo);
gtk_widget_show (panel_about_dialog);
g_signal_connect (panel_about_dialog, "response",
G_CALLBACK (gtk_widget_destroy), NULL);
Expand Down

0 comments on commit a7e725b

Please sign in to comment.