forked from AuroraMiddleware/gtk
gtk/gtkdialog.c: use accessor functions to access GtkWidget
This commit is contained in:
parent
379fc17fa9
commit
4def73b386
@ -497,8 +497,8 @@ gtk_dialog_close (GtkDialog *dialog)
|
||||
GdkEvent *event;
|
||||
|
||||
event = gdk_event_new (GDK_DELETE);
|
||||
|
||||
event->any.window = g_object_ref (widget->window);
|
||||
|
||||
event->any.window = g_object_ref (gtk_widget_get_window (widget));
|
||||
event->any.send_event = TRUE;
|
||||
|
||||
gtk_main_do_event (event);
|
||||
|
Loading…
Reference in New Issue
Block a user