[gtkmm/gtkmm-2-22] Yet more rearranging of includes for the undef in box.hg
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm/gtkmm-2-22] Yet more rearranging of includes for the undef in box.hg
- Date: Tue, 13 Jul 2010 09:53:19 +0000 (UTC)
commit e55223abc92be2aa84ce7d2c2747133b59fca67e
Author: Murray Cumming <murrayc murrayc com>
Date: Tue Jul 13 11:53:18 2010 +0200
Yet more rearranging of includes for the undef in box.hg
* gtk/src/treedragdest.hg: Include treemodel.h later, because it
includes gtk/gtk.h without the undef.
ChangeLog | 7 +++++++
gtk/src/treedragdest.hg | 7 +++----
2 files changed, 10 insertions(+), 4 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 637710c..b073ba5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2010-07-13 Murray Cumming <murrayc murrayc com>
+ Yet more rearranging of includes for the undef in box.hg
+
+ * gtk/src/treedragdest.hg: Include treemodel.h later, because it
+ includes gtk/gtk.h without the undef.
+
+2010-07-13 Murray Cumming <murrayc murrayc com>
+
Even more work on the undef in box.hg.
* gdk/gdkmm.h:
diff --git a/gtk/src/treedragdest.hg b/gtk/src/treedragdest.hg
index 42f5389..16afb8a 100644
--- a/gtk/src/treedragdest.hg
+++ b/gtk/src/treedragdest.hg
@@ -18,8 +18,8 @@
*/
#include <glibmm/interface.h>
-#include <gtkmm/treemodel.h>
#include <gtkmm/selectiondata.h>
+#include <gtkmm/treemodel.h>
_DEFS(gtkmm,gtk)
_PINCLUDE(glibmm/private/interface_p.h)
@@ -44,10 +44,10 @@ class TreeDragDest : public Glib::Interface
public:
- _WRAP_METHOD(bool drag_data_received(const TreeModel::Path& dest, const SelectionData& selection_data), gtk_tree_drag_dest_drag_data_received)
+ _WRAP_METHOD(bool drag_data_received(const TreeModel::Path& dest, const SelectionData& selection_data), gtk_tree_drag_dest_drag_data_received)
_WRAP_METHOD(bool row_drop_possible(const TreeModel::Path& dest_path, const SelectionData& selection_data) const, gtk_tree_drag_dest_row_drop_possible)
-
+
protected:
_WRAP_VFUNC(bool drag_data_received(const TreeModel::Path& dest, const SelectionData& selection_data),
drag_data_received)
@@ -57,4 +57,3 @@ protected:
};
} // namespace Gtk
-
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]