[Xfce4-commits] <xfce4-panel:andrzejr/deskbar-libxfce4panel> xfce-panel-plugin: size setting fix.

Andrzej noreply at xfce.org
Mon Dec 12 16:00:04 CET 2011


Updating branch refs/heads/andrzejr/deskbar-libxfce4panel
         to ceefb69cc4753ff3cd0fe7a6265b54d92b915b89 (commit)
       from 10c5fc4ef7a8ae553b4eaad8dc87499d3244d949 (commit)

commit ceefb69cc4753ff3cd0fe7a6265b54d92b915b89
Author: Andrzej <ndrwrdck at gmail.com>
Date:   Mon Dec 12 23:29:34 2011 +0900

    xfce-panel-plugin: size setting fix.

 libxfce4panel/xfce-panel-plugin.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libxfce4panel/xfce-panel-plugin.c b/libxfce4panel/xfce-panel-plugin.c
index 34a3b5a..e3dd378 100644
--- a/libxfce4panel/xfce-panel-plugin.c
+++ b/libxfce4panel/xfce-panel-plugin.c
@@ -1363,7 +1363,7 @@ xfce_panel_plugin_set_size (XfcePanelPluginProvider *provider,
   real_size = size * plugin->priv->nrows;
 
   /* check if update is required */
-  if (G_LIKELY (plugin->priv->size != real_size))
+  if (G_LIKELY (plugin->priv->size * plugin->priv->nrows != real_size))
     {
       plugin->priv->size = size;
 


More information about the Xfce4-commits mailing list