Commit 8a86194b authored by Alberts Muktupāvels's avatar Alberts Muktupāvels

tracker-search-bar: avoid critical warnings

parent ff9ce11b
Pipeline #167905 passed with stages
in 12 minutes and 54 seconds
......@@ -297,7 +297,7 @@ applet_size_allocate_cb (GtkWidget *widget,
new_size = allocation->height;
}
if (applet->size != new_size) {
if (applet->image != NULL && applet->size != new_size) {
applet->size = new_size;
gtk_image_set_pixel_size (GTK_IMAGE (applet->image), applet->size - 2);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment