[gtk+] gtk/gtkdialog.c: use accessor functions to access GtkWidget
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gtk/gtkdialog.c: use accessor functions to access GtkWidget
- Date: Sun, 22 Aug 2010 21:36:41 +0000 (UTC)
commit 4def73b3867792f1015cd4ecfcf88b531653163d
Author: Javier Jardón <jjardon gnome org>
Date: Wed Aug 11 23:14:03 2010 +0200
gtk/gtkdialog.c: use accessor functions to access GtkWidget
gtk/gtkdialog.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkdialog.c b/gtk/gtkdialog.c
index 7cce1d4..e62f68e 100644
--- a/gtk/gtkdialog.c
+++ b/gtk/gtkdialog.c
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]