[gedit/wip/gtkapp] Fix warnings



commit 4067dfe29a14876555ee9521968b655e5419ce94
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Tue Jul 31 16:10:46 2012 +0200

    Fix warnings

 gedit/gedit-window.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gedit/gedit-window.c b/gedit/gedit-window.c
index 9ccb8b4..eb2e46e 100644
--- a/gedit/gedit-window.c
+++ b/gedit/gedit-window.c
@@ -3223,7 +3223,7 @@ fullscreen_controls_build (GeditWindow *window)
 	priv->fullscreen_controls = gtk_window_new (GTK_WINDOW_POPUP);
 
 	gtk_window_set_transient_for (GTK_WINDOW (priv->fullscreen_controls),
-				      &window->window);
+				      GTK_WINDOW (&window->window));
 	
 	/* popup toolbar */
 	toolbar = gtk_ui_manager_get_widget (priv->manager, "/FullscreenToolBar");
@@ -4893,7 +4893,7 @@ _gedit_window_fullscreen (GeditWindow *window)
 		return;
 
 	/* Go to fullscreen mode and hide bars */
-	gtk_window_fullscreen (&window->window);
+	gtk_window_fullscreen (GTK_WINDOW (&window->window));
 
 	gedit_multi_notebook_foreach_notebook (window->priv->multi_notebook,
 					       (GtkCallback)hide_notebook_tabs,
@@ -4937,7 +4937,7 @@ _gedit_window_unfullscreen (GeditWindow *window)
 		return;
 
 	/* Unfullscreen and show bars */
-	gtk_window_unfullscreen (&window->window);
+	gtk_window_unfullscreen (GTK_WINDOW (&window->window));
 
 	gedit_multi_notebook_foreach_notebook (window->priv->multi_notebook,
 					       (GtkCallback)show_notebook_tabs,



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