[zenity] Compile with -DGSEAL_ENABLED. Fixes bug 612498.
- From: Andre Klapper <aklapper src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [zenity] Compile with -DGSEAL_ENABLED. Fixes bug 612498.
- Date: Thu, 8 Apr 2010 16:01:59 +0000 (UTC)
commit 29625ff9cc86c183c3c6a3b1ab8ee77722580c54
Author: Andre Klapper <a9016009 gmx de>
Date: Wed Mar 10 23:51:28 2010 +0100
Compile with -DGSEAL_ENABLED. Fixes bug 612498.
src/about.c | 4 ++--
src/util.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/about.c b/src/about.c
index de85a54..67c2474 100644
--- a/src/about.c
+++ b/src/about.c
@@ -295,9 +295,9 @@ zenity_about (ZenityData *data)
gtk_widget_show (help_button);
- gtk_box_pack_end (GTK_BOX (GTK_DIALOG (dialog)->action_area),
+ gtk_box_pack_end (GTK_BOX (gtk_dialog_get_action_area (GTK_DIALOG (dialog))),
help_button, FALSE, TRUE, 0);
- gtk_button_box_set_child_secondary (GTK_BUTTON_BOX (GTK_DIALOG (dialog)->action_area),
+ gtk_button_box_set_child_secondary (GTK_BUTTON_BOX (gtk_dialog_get_action_area (GTK_DIALOG (dialog))),
help_button, TRUE);
g_signal_connect (G_OBJECT (dialog), "response",
diff --git a/src/util.c b/src/util.c
index 036e2b5..96bf315 100644
--- a/src/util.c
+++ b/src/util.c
@@ -403,8 +403,8 @@ zenity_util_show_dialog (GtkWidget *dialog)
{
gtk_widget_realize (dialog);
#ifdef GDK_WINDOWING_X11
- g_assert (dialog->window);
- zenity_util_make_transient (dialog->window);
+ g_assert (gtk_widget_get_window(dialog));
+ zenity_util_make_transient (gtk_widget_get_window(dialog));
#endif
gtk_widget_show (dialog);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]