Replace gdk_pixbuf_unref with gdk_object_unref

pull/400/head
Hleb Valoshka 2019-09-10 22:04:56 +03:00
parent 569f0c8deb
commit a69886f8ca
2 changed files with 2 additions and 2 deletions

View File

@ -732,7 +732,7 @@ void actionHelpAbout(GtkAction*, AppData* app)
"license", readFromFile("COPYING"),
"logo", logo,
NULL);
gdk_pixbuf_unref(logo);
g_object_unref(logo);
}

View File

@ -177,7 +177,7 @@ static gboolean splashExpose(GtkWidget* win, GdkEventExpose *event, SplashData*
NULL, x, y, 0, 0, w, h);
gdk_draw_pixbuf(win->window, NULL, bg, 0, 0, 0, 0, w, h,
GDK_RGB_DITHER_NONE, 0, 0);
gdk_pixbuf_unref(bg);
g_object_unref(bg);
}
/* Never redraw again */