[gtkmm] Quickly fix the build with latest Gdk.
- From: Krzesimir Nowak <krnowak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Quickly fix the build with latest Gdk.
- Date: Tue, 28 Dec 2010 22:04:09 +0000 (UTC)
commit bc033e8047be7752ffdc75cd167a3d44eb738b1e
Author: Krzesimir Nowak <qdlacz gmail com>
Date: Tue Dec 28 23:03:14 2010 +0100
Quickly fix the build with latest Gdk.
* gdk/src/device.hg: Remove set_source() method.
* gdk/src/display.[hg|ccg]: Remove get_device_state() and
get_window_at_device_position() methods.
ChangeLog | 8 ++++++++
gdk/src/device.hg | 1 -
gdk/src/display.ccg | 16 ----------------
gdk/src/display.hg | 8 --------
4 files changed, 8 insertions(+), 25 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index be46bd4..8d36110 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2010-12-28 Krzesimir Nowak <qdlacz gmail com>
+
+ Quickly fix the build with latest Gdk.
+
+ * gdk/src/device.hg: Remove set_source() method.
+ * gdk/src/display.[hg|ccg]: Remove get_device_state() and
+ get_window_at_device_position() methods.
+
2010-12-27 Kjell Ahlstedt <kjell ahlstedt bredband net>
Fix the reference counting of Adjustment.
diff --git a/gdk/src/device.hg b/gdk/src/device.hg
index 8bb5ba2..93f2520 100644
--- a/gdk/src/device.hg
+++ b/gdk/src/device.hg
@@ -52,7 +52,6 @@ public:
_WRAP_METHOD(bool get_has_cursor() const, gdk_device_get_has_cursor)
_WRAP_METHOD(InputSource get_source() const, gdk_device_get_source)
- _WRAP_METHOD(void set_source(InputSource source), gdk_device_set_source)
_WRAP_METHOD(InputMode get_mode() const, gdk_device_get_mode)
_WRAP_METHOD(bool set_mode(InputMode mode), gdk_device_set_mode)
_WRAP_METHOD(bool get_key(guint index_, guint& keyval, ModifierType& modifiers) const, gdk_device_get_key)
diff --git a/gdk/src/display.ccg b/gdk/src/display.ccg
index 03cc8b2..cbda674 100644
--- a/gdk/src/display.ccg
+++ b/gdk/src/display.ccg
@@ -41,22 +41,6 @@ void Display::selection_send_notify(GdkNativeWindow requestor, Glib::ustring& se
gdk_selection_send_notify_for_display(gobj(), requestor, Gdk::AtomString::to_c_type(selection), Gdk::AtomString::to_c_type(target), Gdk::AtomString::to_c_type(property), time_);
}
-void Display::get_device_state(const Glib::RefPtr<Device>& device, Glib::RefPtr<Screen>& screen, int& x, int& y, ModifierType& mask)
-{
- GdkScreen* cScreen = 0;
- GdkModifierType cMask = (GdkModifierType)mask;
- gdk_display_get_device_state(gobj(), Glib::unwrap(device), &cScreen, &x, &y, &cMask);
- screen = Glib::wrap(cScreen);
- mask = (ModifierType)cMask;
-}
-
-void Display::get_device_state(const Glib::RefPtr<Device>& device, int& x, int& y, ModifierType& mask)
-{
- GdkModifierType cMask = (GdkModifierType)mask;
- gdk_display_get_device_state(gobj(), Glib::unwrap(device), 0, &x, &y, &cMask);
- mask = (ModifierType)cMask;
-}
-
void Display::get_pointer(Glib::RefPtr<Screen>& screen, int& x, int& y, ModifierType& mask)
{
GdkScreen* cScreen = 0;
diff --git a/gdk/src/display.hg b/gdk/src/display.hg
index 37c0fda..1d9a250 100644
--- a/gdk/src/display.hg
+++ b/gdk/src/display.hg
@@ -135,14 +135,6 @@ public:
*/
Glib::RefPtr<const Window> get_window_at_pointer() const;
- //TODO: Documentation
- void get_device_state(const Glib::RefPtr<Device>& device, Glib::RefPtr<Screen>& screen, int& x, int& y, ModifierType& mask);
- //TODO: Documentation
- void get_device_state(const Glib::RefPtr<Device>& device, int& x, int& y, ModifierType& mask);
- _IGNORE(gdk_display_get_device_state)
-
- _WRAP_METHOD(Glib::RefPtr<const Window> get_window_at_device_position(const Glib::RefPtr<Device>& device, int& win_x, int& win_y), gdk_display_get_window_at_device_position)
-
_WRAP_METHOD(void warp_pointer(const Glib::RefPtr<Screen>& screen, int x, int y), gdk_display_warp_pointer)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]