[gtkmm] Gtk::[App|File|Font|Recent]ChooserWidget: Inherit from Widget
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Gtk::[App|File|Font|Recent]ChooserWidget: Inherit from Widget
- Date: Fri, 21 Jul 2017 15:14:47 +0000 (UTC)
commit 7e4112bb8a08002b0d366cd52998a6f87a02bbb8
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date: Fri Jul 21 17:00:34 2017 +0200
Gtk::[App|File|Font|Recent]ChooserWidget: Inherit from Widget
The corresponding gtk+ classes now inherit from GtkWidget.
gtk/src/appchooserwidget.hg | 8 ++++----
gtk/src/filechooserwidget.hg | 8 ++++----
gtk/src/fontchooserwidget.hg | 8 ++++----
gtk/src/recentchooserwidget.hg | 8 ++++----
4 files changed, 16 insertions(+), 16 deletions(-)
---
diff --git a/gtk/src/appchooserwidget.hg b/gtk/src/appchooserwidget.hg
index c8a2edc..8aa3b6e 100644
--- a/gtk/src/appchooserwidget.hg
+++ b/gtk/src/appchooserwidget.hg
@@ -16,10 +16,10 @@
*/
#include <gtkmm/appchooser.h>
-#include <gtkmm/box.h>
+#include <gtkmm/widget.h>
#include <gtkmm/menu.h>
_DEFS(gtkmm,gtk)
-_PINCLUDE(gtkmm/private/box_p.h)
+_PINCLUDE(gtkmm/private/widget_p.h)
namespace Gtk
@@ -43,10 +43,10 @@ namespace Gtk
* @newin{3,0}
*/
class AppChooserWidget
- : public Box,
+ : public Widget,
public AppChooser
{
- _CLASS_GTKOBJECT(AppChooserWidget, GtkAppChooserWidget, GTK_APP_CHOOSER_WIDGET, Box, GtkBox)
+ _CLASS_GTKOBJECT(AppChooserWidget, GtkAppChooserWidget, GTK_APP_CHOOSER_WIDGET, Widget, GtkWidget)
_IMPLEMENTS_INTERFACE(AppChooser)
public:
diff --git a/gtk/src/filechooserwidget.hg b/gtk/src/filechooserwidget.hg
index e60614f..c10553b 100644
--- a/gtk/src/filechooserwidget.hg
+++ b/gtk/src/filechooserwidget.hg
@@ -16,11 +16,11 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <gtkmm/box.h>
+#include <gtkmm/widget.h>
#include <gtkmm/filechooser.h>
_DEFS(gtkmm,gtk)
-_PINCLUDE(gtkmm/private/box_p.h)
+_PINCLUDE(gtkmm/private/widget_p.h)
namespace Gtk
@@ -36,10 +36,10 @@ namespace Gtk
* @ingroup Widgets
*/
class FileChooserWidget
-: public Box,
+: public Widget,
public FileChooser
{
- _CLASS_GTKOBJECT(FileChooserWidget, GtkFileChooserWidget, GTK_FILE_CHOOSER_WIDGET, Gtk::Box, GtkBox)
+ _CLASS_GTKOBJECT(FileChooserWidget, GtkFileChooserWidget, GTK_FILE_CHOOSER_WIDGET, Gtk::Widget, GtkWidget)
_IMPLEMENTS_INTERFACE(FileChooser)
public:
_CTOR_DEFAULT;
diff --git a/gtk/src/fontchooserwidget.hg b/gtk/src/fontchooserwidget.hg
index 2e4751f..0c70de5 100644
--- a/gtk/src/fontchooserwidget.hg
+++ b/gtk/src/fontchooserwidget.hg
@@ -16,10 +16,10 @@
*/
_DEFS(gtkmm,gtk)
-_PINCLUDE(gtkmm/private/box_p.h)
+_PINCLUDE(gtkmm/private/widget_p.h)
-#include <gtkmm/box.h>
+#include <gtkmm/widget.h>
#include <gtkmm/fontchooser.h>
@@ -39,10 +39,10 @@ namespace Gtk
* @newin{3,2}
*/
class FontChooserWidget
- : public Box,
+ : public Widget,
public FontChooser
{
- _CLASS_GTKOBJECT(FontChooserWidget, GtkFontChooserWidget, GTK_FONT_CHOOSER_WIDGET, Gtk::Box, GtkBox)
+ _CLASS_GTKOBJECT(FontChooserWidget, GtkFontChooserWidget, GTK_FONT_CHOOSER_WIDGET, Gtk::Widget, GtkWidget)
_IMPLEMENTS_INTERFACE(FontChooser)
public:
_CTOR_DEFAULT()
diff --git a/gtk/src/recentchooserwidget.hg b/gtk/src/recentchooserwidget.hg
index fdd529f..166a3f4 100644
--- a/gtk/src/recentchooserwidget.hg
+++ b/gtk/src/recentchooserwidget.hg
@@ -15,11 +15,11 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <gtkmm/box.h>
+#include <gtkmm/widget.h>
#include <gtkmm/recentchooser.h>
_DEFS(gtkmm,gtk)
-_PINCLUDE(gtkmm/private/box_p.h)
+_PINCLUDE(gtkmm/private/widget_p.h)
namespace Gtk
{
@@ -37,10 +37,10 @@ namespace Gtk
* @ingroup RecentFiles
*/
class RecentChooserWidget
-: public Box,
+: public Widget,
public RecentChooser
{
- _CLASS_GTKOBJECT(RecentChooserWidget, GtkRecentChooserWidget, GTK_RECENT_CHOOSER_WIDGET, Gtk::Box, GtkBox)
+ _CLASS_GTKOBJECT(RecentChooserWidget, GtkRecentChooserWidget, GTK_RECENT_CHOOSER_WIDGET, Gtk::Widget,
GtkWidget)
_IMPLEMENTS_INTERFACE(RecentChooser)
public:
_CTOR_DEFAULT;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]