[gtkmm] box.h, etc: Include the deprecated H/V classes.



commit ddf4ae1c4c3aa63c9ed764c23a57cf05fa21acb0
Author: Murray Cumming <murrayc murrayc com>
Date:   Fri Jun 10 22:47:38 2011 +0200

    box.h, etc: Include the deprecated H/V classes.
    
    * gtk/src/box.hg:
    * gtk/src/buttonbox.hg:
    * gtk/src/separator.hg:
    * gtk/src/paned.hg:
    * gtk/src/scale.hg: Include the deprecated headers at the end,
    so that developers do not need to change their include lines.

 ChangeLog                      |   11 +++++++++++
 gtk/src/box.hg                 |    7 ++++++-
 gtk/src/buttonbox.hg           |    6 +++++-
 gtk/src/colorselection.hg      |    2 +-
 gtk/src/filechooserbutton.hg   |    2 +-
 gtk/src/filechooserwidget.hg   |    2 +-
 gtk/src/filelist.am            |    6 +++++-
 gtk/src/fontselection.hg       |    2 +-
 gtk/src/infobar.hg             |    4 +---
 gtk/src/paned.hg               |    5 +++++
 gtk/src/recentchooserwidget.hg |    2 +-
 gtk/src/scale.hg               |    7 +++++++
 gtk/src/separator.hg           |    6 ++++++
 gtk/src/statusbar.hg           |    2 +-
 14 files changed, 52 insertions(+), 12 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index f75de39..076b0b6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,16 @@
 2011-06-10  Murray Cumming  <murrayc murrayc com>
 
+	box.h, etc: Include the deprecated H/V classes.
+
+	* gtk/src/box.hg:
+	* gtk/src/buttonbox.hg:
+	* gtk/src/separator.hg:
+	* gtk/src/paned.hg:
+	* gtk/src/scale.hg: Include the deprecated headers at the end,
+	so that developers do not need to change their include lines.
+
+2011-06-10  Murray Cumming  <murrayc murrayc com>
+
 	Split H/V* classes into separate files.
 
 	* gtk/src/filelist.am:
diff --git a/gtk/src/box.hg b/gtk/src/box.hg
index 0a6604d..0d9b09d 100644
--- a/gtk/src/box.hg
+++ b/gtk/src/box.hg
@@ -114,5 +114,10 @@ public:
   _WRAP_PROPERTY("homogeneous", bool)
 };
 
-
 } // namespace Gtk
+
+//Include the deprecated header, 
+//whose classes were previously in this header,
+//to preserve the "API" of the includes.
+#include <gtkmm/hvbox.h>
+
diff --git a/gtk/src/buttonbox.hg b/gtk/src/buttonbox.hg
index 075145d..5b6670e 100644
--- a/gtk/src/buttonbox.hg
+++ b/gtk/src/buttonbox.hg
@@ -60,5 +60,9 @@ public:
   _WRAP_PROPERTY("layout-style", ButtonBoxStyle)
 };
 
-
 } // namespace Gtk
+
+//Include the deprecated header, 
+//whose classes were previously in this header,
+//to preserve the "API" of the includes.
+#include <gtkmm/hvbuttonbox.h>
diff --git a/gtk/src/colorselection.hg b/gtk/src/colorselection.hg
index 15a291f..cb1a0d3 100644
--- a/gtk/src/colorselection.hg
+++ b/gtk/src/colorselection.hg
@@ -18,7 +18,7 @@
  */
 
 _DEFS(gtkmm,gtk)
-_PINCLUDE(gtkmm/private/box_p.h)
+_PINCLUDE(gtkmm/private/hvbox_p.h)
 _PINCLUDE(gtkmm/private/dialog_p.h)
 
 #include <vector>
diff --git a/gtk/src/filechooserbutton.hg b/gtk/src/filechooserbutton.hg
index 961ea62..af4ec74 100644
--- a/gtk/src/filechooserbutton.hg
+++ b/gtk/src/filechooserbutton.hg
@@ -22,7 +22,7 @@
 #include <gtkmm/box.h>
 #include <gtkmm/filechooserdialog.h>
 _DEFS(gtkmm,gtk)
-_PINCLUDE(gtkmm/private/box_p.h)
+_PINCLUDE(gtkmm/private/hvbox_p.h)
 
 
 namespace Gtk
diff --git a/gtk/src/filechooserwidget.hg b/gtk/src/filechooserwidget.hg
index 7d750b9..345f56a 100644
--- a/gtk/src/filechooserwidget.hg
+++ b/gtk/src/filechooserwidget.hg
@@ -23,7 +23,7 @@
 #include <gtkmm/filechooser.h>
 
 _DEFS(gtkmm,gtk)
-_PINCLUDE(gtkmm/private/box_p.h)
+_PINCLUDE(gtkmm/private/hvbox_p.h)
 
 
 namespace Gtk
diff --git a/gtk/src/filelist.am b/gtk/src/filelist.am
index a8cc58b..7d4edb4 100644
--- a/gtk/src/filelist.am
+++ b/gtk/src/filelist.am
@@ -197,7 +197,11 @@ gtkmm_files_posix_hg =		\
 	printunixdialog.hg	\
 	socket.hg
 
-gtkmm_files_deprecated_hg =
+gtkmm_files_deprecated_hg = hvbox.hg \
+	hvbuttonbox.hg \
+	hvpaned.hg \
+	hvscale.hg \
+	hvseparator.hg
 
 if HOST_WINDOWS_NATIVE
 gtkmm_files_arch_hg =
diff --git a/gtk/src/fontselection.hg b/gtk/src/fontselection.hg
index d6713bc..5d640b5 100644
--- a/gtk/src/fontselection.hg
+++ b/gtk/src/fontselection.hg
@@ -18,7 +18,7 @@
  */
 
 _DEFS(gtkmm,gtk)
-_PINCLUDE(gtkmm/private/box_p.h)
+_PINCLUDE(gtkmm/private/hvbox_p.h)
 _PINCLUDE(gtkmm/private/dialog_p.h)
 
 
diff --git a/gtk/src/infobar.hg b/gtk/src/infobar.hg
index a4e07b2..cce4299 100644
--- a/gtk/src/infobar.hg
+++ b/gtk/src/infobar.hg
@@ -22,14 +22,12 @@
 #include <gtkmm/enums.h>
 
 _DEFS(gtkmm,gtk)
-_PINCLUDE(gtkmm/private/box_p.h)
+_PINCLUDE(gtkmm/private/hvbox_p.h)
 
 
 namespace Gtk
 {
 
-//TODO: Derive from Gtk::Buildable when we can break ABI.
-
 /** This widget that can be used to show messages to the user without showing a dialog.
  * It is often temporarily shown at the top or bottom of a document. In contrast to
  * Dialog, which has a horizontal action area at the bottom, InfoBar has a vertical
diff --git a/gtk/src/paned.hg b/gtk/src/paned.hg
index a398ad4..3268747 100644
--- a/gtk/src/paned.hg
+++ b/gtk/src/paned.hg
@@ -106,3 +106,8 @@ public:
 };
 
 } // namespace Gtk
+
+//Include the deprecated header, 
+//whose classes were previously in this header,
+//to preserve the "API" of the includes.
+#include <gtkmm/hvpaned.h>
diff --git a/gtk/src/recentchooserwidget.hg b/gtk/src/recentchooserwidget.hg
index 3c0e275..29f4599 100644
--- a/gtk/src/recentchooserwidget.hg
+++ b/gtk/src/recentchooserwidget.hg
@@ -19,7 +19,7 @@
 #include <gtkmm/recentchooser.h>
 
 _DEFS(gtkmm,gtk)
-_PINCLUDE(gtkmm/private/box_p.h)
+_PINCLUDE(gtkmm/private/hvbox_p.h)
 
 namespace Gtk
 {
diff --git a/gtk/src/scale.hg b/gtk/src/scale.hg
index d3a4126..c577c4d 100644
--- a/gtk/src/scale.hg
+++ b/gtk/src/scale.hg
@@ -128,3 +128,10 @@ protected:
 };
 
 } /* namespace Gtk */
+
+
+//Include the deprecated header, 
+//whose classes were previously in this header,
+//to preserve the "API" of the includes.
+#include <gtkmm/hvscale.h>
+
diff --git a/gtk/src/separator.hg b/gtk/src/separator.hg
index 34460ce..c41d276 100644
--- a/gtk/src/separator.hg
+++ b/gtk/src/separator.hg
@@ -46,3 +46,9 @@ public:
 
 } /* namespace Gtk */
 
+//Include the deprecated header, 
+//whose classes were previously in this header,
+//to preserve the "API" of the includes.
+#include <gtkmm/hvseparator.h>
+
+
diff --git a/gtk/src/statusbar.hg b/gtk/src/statusbar.hg
index ad5ea82..3e5178d 100644
--- a/gtk/src/statusbar.hg
+++ b/gtk/src/statusbar.hg
@@ -22,7 +22,7 @@
 #include <gtkmm/box.h>
 
 _DEFS(gtkmm,gtk)
-_PINCLUDE(gtkmm/private/box_p.h)
+_PINCLUDE(gtkmm/private/hvbox_p.h)
 
 namespace Gtk
 {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]