From b2ad97dd385e6970b2f524478b799e5193dab157 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 9 Nov 2007 16:56:17 +0000 Subject: Stylistic fixes svn path=/trunk/; revision=18974 --- gtk/gtkstatusicon.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'gtk/gtkstatusicon.c') 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) -- cgit v1.2.1