Panel bug [patch]
- From: Bj|rn Augustsson <d3august dtek chalmers se>
- To: gnome-devel-list gnome org
- Subject: Panel bug [patch]
- Date: Sat, 20 Mar 1999 04:39:54 +0100
On Solaris 2.6 for Sparc, panel will crash with an error like
Gdk-ERROR **: BadWindow (invalid Window parameter)
serial 1063 error_code 3 request_code 129 minor_code 2
if one chooses "This panel properties" from the menu, and then the
"Background" tab.
Now, I'm not sure this is the right fix, but it does work. Could someone
who knows this code have a look at it?
(The patch makes the panel choose a 24 bit TrueColor visual instead of
the default 8-bit PseudoColor.)
(gnome-core-1.0.3, patch is attached.)
/August.
--
Wrong on most accounts. const Foo *foo; and Foo const *foo; mean the same: foo
being a pointer to const Foo. const Foo const *foo; would mean the same but is
illegal (double const). You are confusing this with Foo * const foo; and const
Foo * const foo; respectively. -David Kastrup, comp.os.linux.development.system
--- /usr/scratch/august/gnome-core-1.0.3/panel/main.c Sun Feb 14 05:15:19 1999
+++ main.c Sat Mar 20 04:34:55 1999
@@ -141,6 +141,9 @@
panel_tooltips = gtk_tooltips_new();
+ gtk_widget_push_visual (gdk_imlib_get_visual ());
+ gtk_widget_push_colormap (gdk_imlib_get_colormap ());
+
/*set the globals*/
load_up_globals();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]