Browse Source

Small fix in idle image loading.

upstream/xfce4-panel-4.10.1
Nick Schermer 11 years ago
parent
commit
d8bd765f60
  1. 4
      libxfce4panel/xfce-panel-image.c

4
libxfce4panel/xfce-panel-image.c

@ -442,6 +442,8 @@ xfce_panel_image_load (gpointer data)
GtkIconTheme *icon_theme = NULL;
gint size;
GDK_THREADS_ENTER ();
size = MIN (priv->width, priv->height);
if (G_UNLIKELY (priv->force_icon_sizes && size < 32))
{
@ -479,6 +481,8 @@ xfce_panel_image_load (gpointer data)
if (G_LIKELY (priv->cache != NULL))
gtk_widget_queue_draw (GTK_WIDGET (data));
GDK_THREADS_LEAVE ();
return FALSE;
}

Loading…
Cancel
Save