[goffice] last typo hopefully



commit b887c320df05d109a1ea874624dc2eb9ee71988b
Author: Jean Brefort <jean brefort normalesup org>
Date:   Tue Apr 27 20:45:07 2010 +0200

    last typo hopefully

 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 220fdd8..dd33ce8 100644
--- a/goffice/gtk/go-gtk-compat.h
+++ b/goffice/gtk/go-gtk-compat.h
@@ -113,12 +113,12 @@
 #ifndef HAVE_GTK_WIDGET_SEND_FOCUS_CHANGE
 #define gtk_widget_send_focus_change(w,ev)			\
 	do {							\
-	g_object_ref (widget);					\
+	g_object_ref (w);					\
 	if ((ev)->in) GTK_WIDGET_SET_FLAGS ((w), GTK_HAS_FOCUS);       \
 	else GTK_WIDGET_UNSET_FLAGS ((w), GTK_HAS_FOCUS);       \
 	gtk_widget_event (widget, (GdkEvent*)(ev));			\
 	g_object_notify (G_OBJECT (widget), "has-focus");       \
-	g_object_unref (widget);				\
+	g_object_unref (w);				\
 	} while (0)
 #endif
 



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