Replace gdk_pixbuf_unref with gdk_object_unref
parent
569f0c8deb
commit
a69886f8ca
|
@ -732,7 +732,7 @@ void actionHelpAbout(GtkAction*, AppData* app)
|
|||
"license", readFromFile("COPYING"),
|
||||
"logo", logo,
|
||||
NULL);
|
||||
gdk_pixbuf_unref(logo);
|
||||
g_object_unref(logo);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue