[gnome-utils] [logview] remove deprecated GTK+ symbols.



commit 0c95593755cd880923bce88fdf1ff1ba125e6a25
Author: Thomas Hindoe Paaboel Andersen <phomes gmail com>
Date:   Fri May 28 01:09:00 2010 +0200

    [logview] remove deprecated GTK+ symbols.

 logview/logview-window.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/logview/logview-window.c b/logview/logview-window.c
index ed21af1..6673a25 100644
--- a/logview/logview-window.c
+++ b/logview/logview-window.c
@@ -806,7 +806,7 @@ logview_about (GtkWidget *widget, GtkWidget *window)
 static void
 logview_toggle_statusbar (GtkAction *action, LogviewWindow *logview)
 {
-  if (GTK_WIDGET_VISIBLE (logview->priv->statusbar))
+  if (gtk_widget_get_visible (logview->priv->statusbar))
     gtk_widget_hide (logview->priv->statusbar);
   else
     gtk_widget_show (logview->priv->statusbar);
@@ -815,7 +815,7 @@ logview_toggle_statusbar (GtkAction *action, LogviewWindow *logview)
 static void
 logview_toggle_sidebar (GtkAction *action, LogviewWindow *logview)
 {
-  if (GTK_WIDGET_VISIBLE (logview->priv->sidebar))
+  if (gtk_widget_get_visible (logview->priv->sidebar))
     gtk_widget_hide (logview->priv->sidebar);
   else
     gtk_widget_show (logview->priv->sidebar);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]