summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--gtk/gtkrc.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c07b176f5b..4b7f4faaf5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-06-09 Carlos Garnacho <carlos@imendio.com>
+
+ * gtk/gtkrc.c (gtk_rc_parse_engine): initialize rc_priv in the else
+ branch too. (#445539)
+
2007-06-08 Benjamin Berg <benjamin@sipsolutions.net>
* gtk/gtkscrolledwindow.c: (gtk_scrolled_window_paint):
diff --git a/gtk/gtkrc.c b/gtk/gtkrc.c
index ae5cdd5239..77fdc3fd31 100644
--- a/gtk/gtkrc.c
+++ b/gtk/gtkrc.c
@@ -3658,6 +3658,7 @@ gtk_rc_parse_engine (GtkRcContext *context,
{
GtkRcStyleClass *new_class;
+ rc_priv = GTK_RC_STYLE_GET_PRIVATE (*rc_style);
new_style = gtk_theme_engine_create_rc_style (engine);
g_type_module_unuse (G_TYPE_MODULE (engine));