diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2007-11-09 16:56:17 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2007-11-09 16:56:17 +0000 |
commit | b2ad97dd385e6970b2f524478b799e5193dab157 (patch) | |
tree | 5fbfe8f6ba277702c89cdd36f1983d0a7e585930 /gtk/gtkstatusicon.c | |
parent | fb4b0ddff7ef037deed934a324b2b658812ad17a (diff) | |
download | gtk+-b2ad97dd385e6970b2f524478b799e5193dab157.tar.gz |
Stylistic fixes
svn path=/trunk/; revision=18974
Diffstat (limited to 'gtk/gtkstatusicon.c')
-rwxr-xr-x | gtk/gtkstatusicon.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gtk/gtkstatusicon.c b/gtk/gtkstatusicon.c index 3bc3fff8c0..8e607f15a5 100755 --- a/gtk/gtkstatusicon.c +++ b/gtk/gtkstatusicon.c @@ -1691,10 +1691,11 @@ gtk_status_icon_set_visible (GtkStatusIcon *status_icon, #ifdef GDK_WINDOWING_X11 if (visible) gtk_widget_show (priv->tray_icon); - else if (GTK_WIDGET_REALIZED (priv->tray_icon)) { - gtk_widget_hide (priv->tray_icon); - gtk_widget_unrealize (priv->tray_icon); - } + else if (GTK_WIDGET_REALIZED (priv->tray_icon)) + { + gtk_widget_hide (priv->tray_icon); + gtk_widget_unrealize (priv->tray_icon); + } #endif #ifdef GDK_WINDOWING_WIN32 if (priv->nid.hWnd != NULL) |