summaryrefslogtreecommitdiff
path: root/gtk/gtkstatusicon.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkstatusicon.c')
-rwxr-xr-xgtk/gtkstatusicon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkstatusicon.c b/gtk/gtkstatusicon.c
index 047fd48df1..b507e3c1f8 100755
--- a/gtk/gtkstatusicon.c
+++ b/gtk/gtkstatusicon.c
@@ -490,8 +490,8 @@ gtk_status_icon_init (GtkStatusIcon *status_icon)
priv->status_item = [[GtkQuartzStatusIcon alloc] initWithStatusIcon:status_icon];
- priv->image_height = [priv->status_item getHeight];
- priv->image_width = [priv->status_item getWidth];
+ priv->image_width = priv->image_height = [priv->status_item getHeight];
+ priv->size = priv->image_height;
QUARTZ_POOL_RELEASE;