Initialise |widget|. Fixes a buglet introduced by the commit from bug

#505226.

svn path=/trunk/; revision=19239
This commit is contained in:
Christian Persch 2007-12-25 12:04:03 +00:00
parent 8b9693f815
commit dec726cbd7
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2007-12-22 Christian Persch <chpe@gnome.org>
* modules/other/gail/gailwindow.c: (gail_window_initialize):
Initialise |widget|. Fixes a buglet introduced by the commit from bug
#505226.
2007-12-22 Christian Persch <chpe@gnome.org>
* modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.

View File

@ -183,7 +183,7 @@ static void
gail_window_real_initialize (AtkObject *obj,
gpointer data)
{
GtkWidget *widget;
GtkWidget *widget = GTK_WIDGET (data);
GailWindow *window;
/*
@ -198,7 +198,6 @@ gail_window_real_initialize (AtkObject *obj,
window = GAIL_WINDOW (obj);
window->name_change_handler = 0;
window->previous_name = g_strdup (gtk_window_get_title (GTK_WINDOW (data)));
widget = GTK_WIDGET (data);
g_signal_connect (data,
"window_state_event",