[gdm] Fix two trivial issues when compiling with -DGSEAL_ENABLE.
- From: Andre Klapper <aklapper src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm] Fix two trivial issues when compiling with -DGSEAL_ENABLE.
- Date: Tue, 4 May 2010 11:26:32 +0000 (UTC)
commit cb80e59f93b6069dd3fe46f8ed22af853901cfda
Author: Andre Klapper <a9016009 gmx de>
Date: Tue May 4 13:25:52 2010 +0200
Fix two trivial issues when compiling with -DGSEAL_ENABLE.
utils/gdm-screenshot.c | 2 +-
utils/gdmflexiserver.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/utils/gdm-screenshot.c b/utils/gdm-screenshot.c
index 12102f2..a29626d 100644
--- a/utils/gdm-screenshot.c
+++ b/utils/gdm-screenshot.c
@@ -74,7 +74,7 @@ screenshot_grab_lock (void)
}
cursor = gdk_cursor_new (GDK_WATCH);
- gdk_pointer_grab (selection_window->window, FALSE, 0, NULL,
+ gdk_pointer_grab (gtk_widget_get_window (selection_window), FALSE, 0, NULL,
cursor, GDK_CURRENT_TIME);
gdk_cursor_unref (cursor);
diff --git a/utils/gdmflexiserver.c b/utils/gdmflexiserver.c
index 0d8f9bf..fdcbfb1 100644
--- a/utils/gdmflexiserver.c
+++ b/utils/gdmflexiserver.c
@@ -773,7 +773,7 @@ main (int argc, char *argv[])
gtk_window_set_title (GTK_WINDOW (dialog), "");
gtk_window_set_icon_name (GTK_WINDOW (dialog), "session-properties");
gtk_container_set_border_width (GTK_CONTAINER (dialog), 5);
- 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);
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]