[gedit] gedit-command-view: fix missing cast



commit 01fe77e7bfde4a01a80899bdd551e109612f638b
Author: Sebastien Lafargue <slafargue gnome org>
Date:   Wed Aug 27 19:00:44 2014 +0200

    gedit-command-view: fix missing cast

 gedit/gedit-commands-view.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gedit/gedit-commands-view.c b/gedit/gedit-commands-view.c
index 37e83f0..98c1a12 100644
--- a/gedit/gedit-commands-view.c
+++ b/gedit/gedit-commands-view.c
@@ -46,7 +46,7 @@ _gedit_cmd_view_focus_active (GSimpleAction *action,
 
        if (active_view)
        {
-               gtk_widget_grab_focus (active_view);
+               gtk_widget_grab_focus (GTK_WIDGET (active_view));
        }
 }
 


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