[goffice] fixed more typos



commit e892d05567fcf28d6ed30241afbfbb88519fd968
Author: Jean Brefort <jean brefort normalesup org>
Date:   Tue Apr 27 20:43:42 2010 +0200

    fixed more typos

 goffice/gtk/go-gtk-compat.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/goffice/gtk/go-gtk-compat.h b/goffice/gtk/go-gtk-compat.h
index 51dc937..220fdd8 100644
--- a/goffice/gtk/go-gtk-compat.h
+++ b/goffice/gtk/go-gtk-compat.h
@@ -114,9 +114,9 @@
 #define gtk_widget_send_focus_change(w,ev)			\
 	do {							\
 	g_object_ref (widget);					\
-	if (((GdkEventFocus*)ev)->in) GTK_WIDGET_SET_FLAGS ((w), GTK_HAS_FOCUS);       \
+	if ((ev)->in) GTK_WIDGET_SET_FLAGS ((w), GTK_HAS_FOCUS);       \
 	else GTK_WIDGET_UNSET_FLAGS ((w), GTK_HAS_FOCUS);       \
-	gtk_widget_event (widget, &fevent);			\
+	gtk_widget_event (widget, (GdkEvent*)(ev));			\
 	g_object_notify (G_OBJECT (widget), "has-focus");       \
 	g_object_unref (widget);				\
 	} while (0)



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