Initialise |widget|. Fixes a buglet introduced by the commit from bug
#505226. svn path=/trunk/; revision=19239
This commit is contained in:
@ -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>
|
2007-12-22 Christian Persch <chpe@gnome.org>
|
||||||
|
|
||||||
* modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
|
* modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
|
||||||
|
|||||||
@ -183,7 +183,7 @@ static void
|
|||||||
gail_window_real_initialize (AtkObject *obj,
|
gail_window_real_initialize (AtkObject *obj,
|
||||||
gpointer data)
|
gpointer data)
|
||||||
{
|
{
|
||||||
GtkWidget *widget;
|
GtkWidget *widget = GTK_WIDGET (data);
|
||||||
GailWindow *window;
|
GailWindow *window;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -198,7 +198,6 @@ gail_window_real_initialize (AtkObject *obj,
|
|||||||
window = GAIL_WINDOW (obj);
|
window = GAIL_WINDOW (obj);
|
||||||
window->name_change_handler = 0;
|
window->name_change_handler = 0;
|
||||||
window->previous_name = g_strdup (gtk_window_get_title (GTK_WINDOW (data)));
|
window->previous_name = g_strdup (gtk_window_get_title (GTK_WINDOW (data)));
|
||||||
widget = GTK_WIDGET (data);
|
|
||||||
|
|
||||||
g_signal_connect (data,
|
g_signal_connect (data,
|
||||||
"window_state_event",
|
"window_state_event",
|
||||||
|
|||||||
Reference in New Issue
Block a user