aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2007-07-04 03:48:40 +0800
committermarcus <marcus@FreeBSD.org>2007-07-04 03:48:40 +0800
commit96f2a060e956cc7fc1bca57c5c1babd05f05316c (patch)
treeed8644f347763027d8d73d7eab886222e0fca7b2 /editors
parent545085f5a3129df80a49f30f10151761306cfa7c (diff)
downloadfreebsd-ports-graphics-96f2a060e956cc7fc1bca57c5c1babd05f05316c.tar.gz
freebsd-ports-graphics-96f2a060e956cc7fc1bca57c5c1babd05f05316c.tar.zst
freebsd-ports-graphics-96f2a060e956cc7fc1bca57c5c1babd05f05316c.zip
Fix build with GCC 4.2.
Reported by: pointyhat via kris
Diffstat (limited to 'editors')
-rw-r--r--editors/glimmer/files/patch-src_widgets_gnome-settings.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/editors/glimmer/files/patch-src_widgets_gnome-settings.c b/editors/glimmer/files/patch-src_widgets_gnome-settings.c
new file mode 100644
index 00000000000..82adbe24682
--- /dev/null
+++ b/editors/glimmer/files/patch-src_widgets_gnome-settings.c
@@ -0,0 +1,11 @@
+--- src/widgets/gnome-settings.c.orig Tue Jul 3 15:45:49 2007
++++ src/widgets/gnome-settings.c Tue Jul 3 15:46:49 2007
+@@ -138,7 +138,7 @@ select_event (GtkCTree * tree, gint row,
+ gtk_widget_hide (settings->current);
+ if (data) {
+ gtk_widget_show (GTK_WIDGET (data));
+- (void *) settings->current = data;
++ settings->current = GTK_WIDGET (data);
+ }
+ }
+