[gnome-screensaver/gnome-2-30] Fix compiler warning by adding GTK_WIDGET() cast



commit 4dacf6f10f440730fcde2c0b8030aa7dedfdd420
Author: Wouter Bolsterlee <wbolster gnome org>
Date:   Sun Jun 6 15:58:56 2010 +0200

    Fix compiler warning by adding GTK_WIDGET() cast

 src/gs-manager.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gs-manager.c b/src/gs-manager.c
index c4e2076..aea72f3 100644
--- a/src/gs-manager.c
+++ b/src/gs-manager.c
@@ -1470,7 +1470,7 @@ gs_manager_create_window_for_monitor (GSManager *manager,
         manager->priv->windows = g_slist_append (manager->priv->windows, window);
 
         if (manager->priv->active && !manager->priv->fading) {
-                gtk_widget_show (window);
+                gtk_widget_show (GTK_WIDGET (window));
         }
 }
 



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