[goffice] compilation: warning fix.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goffice] compilation: warning fix.
- Date: Sat, 12 Mar 2011 21:55:38 +0000 (UTC)
commit 7cc07f764aa1b49c987237177908202f8fae321e
Author: Morten Welinder <terra gnome org>
Date: Sat Mar 12 16:55:22 2011 -0500
compilation: warning fix.
ChangeLog | 5 +++++
goffice/gtk/go-combo-box.c | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 3728888..3949819 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-03-12 Morten Welinder <terra gnome org>
+
+ * goffice/gtk/go-combo-box.c (do_focus_change): Add cast because
+ gcc isn't smart enough to follow union rules before warning.
+
2011-03-09 Jean Brefort <jean brefort normalesup org>
* goffice/app/go-conf-gsettings.c (go_conf_get_node),
diff --git a/goffice/gtk/go-combo-box.c b/goffice/gtk/go-combo-box.c
index 3b40a25..df8c6e8 100644
--- a/goffice/gtk/go-combo-box.c
+++ b/goffice/gtk/go-combo-box.c
@@ -148,7 +148,7 @@ do_focus_change (GtkWidget *widget, gboolean in)
fevent.type = GDK_FOCUS_CHANGE;
fevent.window = gtk_widget_get_window (widget);
fevent.in = in;
- gtk_widget_send_focus_change (widget, &fevent);
+ gtk_widget_send_focus_change (widget, (GdkEvent*)&fevent);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]