mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2025-02-06 04:04:55 +01:00
Add missing return
This commit is contained in:
parent
62a682d35e
commit
b8e82e8f91
1 changed files with 1 additions and 0 deletions
|
@ -775,6 +775,7 @@ cb_window_update_icon(ZathuraRenderRequest* GIRARA_UNUSED(request), cairo_surfac
|
||||||
GdkPixbuf* pixbuf = gdk_pixbuf_get_from_surface(surface, 0, 0, cairo_image_surface_get_width(surface), cairo_image_surface_get_height(surface));
|
GdkPixbuf* pixbuf = gdk_pixbuf_get_from_surface(surface, 0, 0, cairo_image_surface_get_width(surface), cairo_image_surface_get_height(surface));
|
||||||
if (pixbuf == NULL) {
|
if (pixbuf == NULL) {
|
||||||
girara_error("Unable to convert cairo surface to Gdk Pixbuf.");
|
girara_error("Unable to convert cairo surface to Gdk Pixbuf.");
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
gtk_window_set_icon(GTK_WINDOW(zathura->ui.session->gtk.window), pixbuf);
|
gtk_window_set_icon(GTK_WINDOW(zathura->ui.session->gtk.window), pixbuf);
|
||||||
|
|
Loading…
Reference in a new issue