initialize rc_priv in the else branch too. (#445539)

2007-06-09  Carlos Garnacho  <carlos@imendio.com>

        * gtk/gtkrc.c (gtk_rc_parse_engine): initialize rc_priv in the else
        branch too. (#445539)


svn path=/trunk/; revision=18084
This commit is contained in:
Carlos Garnacho 2007-06-08 16:28:52 +00:00 committed by Carlos Garnacho
parent 58f51e68ec
commit 705d6545e5
2 changed files with 6 additions and 0 deletions

View File

@ -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):

View File

@ -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));