[gedit/eggplugins] Fix wrong pointer types for engine->update_plugins_ui()



commit ed15ff96b5c4b47257bb2f6bcb13153a9bf589a0
Author: Steve Frécinaux <code istique net>
Date:   Sun Oct 11 22:17:13 2009 +0200

    Fix wrong pointer types for engine->update_plugins_ui()

 gedit/gedit-window.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/gedit/gedit-window.c b/gedit/gedit-window.c
index 9a69cd0..2588305 100644
--- a/gedit/gedit-window.c
+++ b/gedit/gedit-window.c
@@ -826,7 +826,7 @@ set_sensitivity_according_to_tab (GeditWindow *window,
 	update_next_prev_doc_sensitivity (window, tab);
 
 	egg_plugins_engine_update_plugins_ui (gedit_plugins_engine_get_default (),
-						 window);
+					      G_OBJECT (window));
 }
 
 static void
@@ -2696,7 +2696,7 @@ sync_name (GeditTab    *tab,
 	g_free (tip);
 
 	egg_plugins_engine_update_plugins_ui (gedit_plugins_engine_get_default (),
-						 window);
+					      G_OBJECT (window));
 }
 
 static GeditWindow *
@@ -3090,7 +3090,7 @@ selection_changed (GeditDocument *doc,
 				  gtk_text_buffer_get_has_selection (GTK_TEXT_BUFFER (doc)));
 
 	egg_plugins_engine_update_plugins_ui (gedit_plugins_engine_get_default (),
-						 window);
+					      G_OBJECT (window));
 }
 
 static void
@@ -3100,7 +3100,7 @@ sync_languages_menu (GeditDocument *doc,
 {
 	update_languages_menu (window);
 	egg_plugins_engine_update_plugins_ui (gedit_plugins_engine_get_default (),
-						 window);
+					      G_OBJECT (window));
 }
 
 static void
@@ -3109,7 +3109,7 @@ editable_changed (GeditView  *view,
                   GeditWindow *window)
 {
 	egg_plugins_engine_update_plugins_ui (gedit_plugins_engine_get_default (),
-						 window);
+					      G_OBJECT (window));
 }
 
 static void
@@ -3314,7 +3314,7 @@ notebook_tab_removed (GeditNotebook *notebook,
 		gtk_action_set_sensitive (action, FALSE);
 
 		egg_plugins_engine_update_plugins_ui (gedit_plugins_engine_get_default (),
-							 window);
+						      G_OBJECT (window));
 	}
 
 	if (window->priv->num_tabs <= 1)



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