[gnome-applets] Some small fixes for compiling with -DGSEAL_ENABLE.
- From: Andre Klapper <aklapper src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-applets] Some small fixes for compiling with -DGSEAL_ENABLE.
- Date: Mon, 12 Apr 2010 15:51:27 +0000 (UTC)
commit 94b7258892e0c2dcb05b743ad7e4e7fd963c1e58
Author: Andre Klapper <a9016009 gmx de>
Date: Mon Apr 12 17:51:13 2010 +0200
Some small fixes for compiling with -DGSEAL_ENABLE.
trashapplet/src/trashapplet.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/trashapplet/src/trashapplet.c b/trashapplet/src/trashapplet.c
index e6b9486..aa1b0b6 100644
--- a/trashapplet/src/trashapplet.c
+++ b/trashapplet/src/trashapplet.c
@@ -455,16 +455,16 @@ confirm_delete_immediately (GtkWidget *parent_view,
gtk_window_set_resizable (GTK_WINDOW (dialog), FALSE);
gtk_widget_realize (dialog);
- gdk_window_set_transient_for (GTK_WIDGET (dialog)->window,
+ gdk_window_set_transient_for (gtk_widget_get_window (GTK_WIDGET (dialog)),
gdk_screen_get_root_window (screen));
gtk_window_set_modal (GTK_WINDOW (dialog), TRUE);
- gtk_box_set_spacing (GTK_BOX (GTK_DIALOG (dialog)->vbox), 14);
+ gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))), 14);
hbox = gtk_hbox_new (FALSE, 12);
gtk_container_set_border_width (GTK_CONTAINER (hbox), 5);
gtk_widget_show (hbox);
- gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox), hbox,
+ gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))), hbox,
FALSE, FALSE, 0);
image = gtk_image_new_from_stock (GTK_STOCK_DIALOG_QUESTION,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]