[gtkmm] gdkmm: Fix some typos to fix the build.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] gdkmm: Fix some typos to fix the build.
- Date: Tue, 11 Jan 2011 22:41:03 +0000 (UTC)
commit 14022e7212bc056419c743bee46fca9f0e133663
Author: Murray Cumming <murrayc murrayc com>
Date: Tue Jan 11 23:39:48 2011 +0100
gdkmm: Fix some typos to fix the build.
* gdk/src/dragcontext.ccg: Fix silly errors.
ChangeLog | 10 ++++++++--
gdk/src/dragcontext.ccg | 6 +++---
2 files changed, 11 insertions(+), 5 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index c305376..e31ed42 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,13 @@
-2011-01-11 Murray Cumming <murrayc murrayc-x61>
+2011-01-11 Murray Cumming <murrayc murrayc com>
+
+ gdkmm: Fix some typos to fix the build.
+
+ * gdk/src/dragcontext.ccg: Fix silly errors.
+
+2011-01-11 Murray Cumming <murrayc murrayc com>
Screen: Fix a typo, so the monitors_changed() signal really uses the C signal.
-
+
* gdk/src/screen.hg: The monitors_changed() signal was wrapping the
size_changed signal.
diff --git a/gdk/src/dragcontext.ccg b/gdk/src/dragcontext.ccg
index f6e57b1..0f07a1d 100644
--- a/gdk/src/dragcontext.ccg
+++ b/gdk/src/dragcontext.ccg
@@ -31,10 +31,10 @@ namespace Gdk
void DragContext::find_window_for_screen(const Glib::RefPtr<Window>& drag_window, const Glib::RefPtr<Screen>& screen, int x_root, int y_root, Glib::RefPtr<Window>& dest_window, DragProtocol& protocol) const
{
GdkWindow* cWindow = 0;
- GdkDragProtocol cprotocol = 0;
- gdk_drag_find_window_for_screen(const_cast<GdkDragContext*>(gobj()), drag_window->gobj(), screen->gobj(), x_root, y_root, &cWindow, &cprotocol));
+ GdkDragProtocol cprotocol = GDK_DRAG_PROTO_NONE; //arbitrary default.
+ gdk_drag_find_window_for_screen(const_cast<GdkDragContext*>(gobj()), drag_window->gobj(), screen->gobj(), x_root, y_root, &cWindow, &cprotocol);
dest_window = Glib::wrap(cWindow);
- protocol = cprotocol;
+ protocol = (DragProtocol)cprotocol;
}
void DragContext::drag_refuse(guint32 time)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]