Hi All,
The problem for this bug was that nimbus is trying to access the
default display before it is set in gtk. This is a new behavior in gtk.
I've removed the code nimbus is using to query the screen size at
init time as it isn't needed there.
This fixes the issue
Thanks,
Erwann
Index: gtk-engine/nimbus_rc_style.c
===================================================================
--- gtk-engine/nimbus_rc_style.c (revision 58)
+++ gtk-engine/nimbus_rc_style.c (working copy)
@@ -585,7 +585,7 @@
}
}
-static void define_progressbar (NimbusData *rc, int scr_w, int scr_h)
+static void define_progressbar (NimbusData *rc)
{
NimbusButton *tmp;
NimbusGradient *tmp_gradient;
@@ -1105,8 +1105,6 @@
GdkPixbuf *tmp_pb, *tmp_pb_bis;
GError **error = NULL;
static NimbusData *rc = NULL;
- int screen_w = gdk_screen_get_width (gdk_display_get_default_screen
(gdk_display_get_default ()));
- int screen_h = gdk_screen_get_height (gdk_display_get_default_screen
(gdk_display_get_default ()));
if (rc)
{
@@ -1122,7 +1120,7 @@
define_header_button_states (rc);
define_arrow_button_states (rc, TRUE);
define_arrow_button_states (rc, FALSE);
- define_progressbar (rc, screen_w, screen_h);
+ define_progressbar (rc);
--
Erwann Ch?ned?,
Desktop Group, Sun Microsystems, Grenoble