aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-12-20 14:12:17 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-12-20 14:12:17 +0800
commitc279319bc5f1936ff8c68344fa0a97f9dc5b334a (patch)
treea3d37618f56fb7d9563f1420c7fe43184b7be2d7
parent3706948385a01f5fb751732cc302be7bfc8947da (diff)
downloadgsoc2013-evolution-c279319bc5f1936ff8c68344fa0a97f9dc5b334a.tar
gsoc2013-evolution-c279319bc5f1936ff8c68344fa0a97f9dc5b334a.tar.gz
gsoc2013-evolution-c279319bc5f1936ff8c68344fa0a97f9dc5b334a.tar.bz2
gsoc2013-evolution-c279319bc5f1936ff8c68344fa0a97f9dc5b334a.tar.lz
gsoc2013-evolution-c279319bc5f1936ff8c68344fa0a97f9dc5b334a.tar.xz
gsoc2013-evolution-c279319bc5f1936ff8c68344fa0a97f9dc5b334a.tar.zst
gsoc2013-evolution-c279319bc5f1936ff8c68344fa0a97f9dc5b334a.zip
-- Merge fix for #17377 from the evolution-1-0-branch.
* gui/main.c (main): Push GdkRGB visual and colormap. svn path=/trunk/; revision=15194
-rw-r--r--calendar/ChangeLog6
-rw-r--r--calendar/gui/main.c3
2 files changed, 9 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 7bb7687aa6..d6ddefb82a 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,9 @@
+2001-12-20 Ettore Perazzoli <ettore@ximian.com>
+
+ [Fixes #17377, Evolution doesn't work on multi-depth displays.]
+
+ * gui/main.c (main): Push GdkRGB visual and colormap.
+
2001-12-19 JP Rosevear <jpr@ximian.com>
* conduits/calendar/calendar-conduit.c (check_for_slow_setting):
diff --git a/calendar/gui/main.c b/calendar/gui/main.c
index 768d6fddcc..b74b1040cd 100644
--- a/calendar/gui/main.c
+++ b/calendar/gui/main.c
@@ -153,6 +153,9 @@ main (int argc, char **argv)
launch_alarm_daemon ();
+ gtk_widget_push_visual (gdk_rgb_get_visual ());
+ gtk_widget_push_colormap (gdk_rgb_get_cmap ());
+
bonobo_main ();
alarm_done ();