summaryrefslogtreecommitdiff
path: root/gtk/gtkstatusicon.c
diff options
context:
space:
mode:
authorMikael Hallendal <micke@imendio.com>2006-12-20 14:02:43 +0000
committerMikael Hallendal <hallski@src.gnome.org>2006-12-20 14:02:43 +0000
commite3655ec688ffd091625225a20bf703d2623b3b76 (patch)
tree335f473e7ab09964f11d2792cdb385d72d3367cb /gtk/gtkstatusicon.c
parentf18b0d4b7a5fadb6a321d0e7e7989d0a9e18fbdc (diff)
downloadgtk+-e3655ec688ffd091625225a20bf703d2623b3b76.tar.gz
Fixed a last minute change in the quartz backend.
2006-12-20 Mikael Hallendal <micke@imendio.com> * gtk/gtkstatusicon.c: (gtk_status_icon_init): Fixed a last minute change in the quartz backend.
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;