[tracker] Remove deprecated GTK+ symbols
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] Remove deprecated GTK+ symbols
- Date: Wed, 8 Dec 2010 09:44:23 +0000 (UTC)
commit 6677787ced87cdb7b97b41cedf33c7f42a6f3747
Author: Javier Jardón <jjardon gnome org>
Date: Tue Dec 7 15:39:59 2010 -0500
Remove deprecated GTK+ symbols
Fixes GB#624041
So we can compile against GTK+3. No GTK+ bump required
src/tracker-preferences/tracker-preferences.vala | 2 +-
src/tracker-status-icon/tomboykeybinder.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/tracker-preferences/tracker-preferences.vala b/src/tracker-preferences/tracker-preferences.vala
index 9bd4a49..13ac702 100644
--- a/src/tracker-preferences/tracker-preferences.vala
+++ b/src/tracker-preferences/tracker-preferences.vala
@@ -119,7 +119,7 @@ public static void add_freevalue (ListStore model) {
dialog = new Dialog.with_buttons (_("Enter value"),
window,
- DialogFlags.DESTROY_WITH_PARENT | DialogFlags.NO_SEPARATOR,
+ DialogFlags.DESTROY_WITH_PARENT,
Stock.CANCEL, ResponseType.CANCEL,
Stock.OK, ResponseType.ACCEPT);
diff --git a/src/tracker-status-icon/tomboykeybinder.c b/src/tracker-status-icon/tomboykeybinder.c
index 3e1dcba..c3e0fd6 100644
--- a/src/tracker-status-icon/tomboykeybinder.c
+++ b/src/tracker-status-icon/tomboykeybinder.c
@@ -45,7 +45,7 @@ grab_ungrab_with_ignorable_modifiers (GdkWindow *rootwin,
XGrabKey (GDK_WINDOW_XDISPLAY (rootwin),
binding->keycode,
binding->modifiers | mod_masks [i],
- GDK_WINDOW_XWINDOW (rootwin),
+ GDK_WINDOW_XID (rootwin),
False,
GrabModeAsync,
GrabModeAsync);
@@ -53,7 +53,7 @@ grab_ungrab_with_ignorable_modifiers (GdkWindow *rootwin,
XUngrabKey (GDK_WINDOW_XDISPLAY (rootwin),
binding->keycode,
binding->modifiers | mod_masks [i],
- GDK_WINDOW_XWINDOW (rootwin));
+ GDK_WINDOW_XID (rootwin));
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]