Initialized GValues before unsetting them. (#457720)

2007-07-19  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtktextview.c (gtk_text_view_compat_move_focus):
        Initialized GValues before unsetting them.  (#457720)



svn path=/trunk/; revision=18497
This commit is contained in:
Matthias Clasen 2007-07-19 13:45:12 +00:00 committed by Matthias Clasen
parent b1ec5f7556
commit d5a7784394
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2007-07-19 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextview.c (gtk_text_view_compat_move_focus):
Initialized GValues before unsetting them. (#457720)
2007-07-19 Kristian Rietveld <kris@imendio.com>
* gtk/gtk.symbols:

View File

@ -5694,6 +5694,8 @@ gtk_text_view_compat_move_focus (GtkTextView *text_view,
g_value_init (&instance_and_params[1], GTK_TYPE_DIRECTION_TYPE);
g_value_set_enum (&instance_and_params[1], direction_type);
g_value_init (&return_value, G_TYPE_BOOLEAN);
g_signal_chain_from_overridden (instance_and_params, &return_value);
g_value_unset (&instance_and_params[0]);