[glibmm] Gio::Application: Derive from the ActionGroup interface.
- From: Josà Alburquerque <jaalburqu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm] Gio::Application: Derive from the ActionGroup interface.
- Date: Wed, 22 Feb 2012 22:00:44 +0000 (UTC)
commit 59ab32d4e40baabe21901f9893e07cb0fdd3b268
Author: Josà Alburquerque <jaalburqu svn gnome org>
Date: Wed Feb 22 14:36:25 2012 -0500
Gio::Application: Derive from the ActionGroup interface.
* gio/src/application.hg: As is done in the C API.
ChangeLog | 6 ++++++
gio/src/application.hg | 6 +++---
2 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 8c3e8ad..bcfbf65 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-02-22 Josà Alburquerque <jaalburquerque gmail com>
+
+ Gio::Application: Derive from the ActionGroup interface.
+
+ * gio/src/application.hg: As is done in the C API.
+
2.31.18:
2012-02-20 Josà Alburquerque <jaalburquerque gmail com>
diff --git a/gio/src/application.hg b/gio/src/application.hg
index 60b8aa1..9c231b5 100644
--- a/gio/src/application.hg
+++ b/gio/src/application.hg
@@ -17,6 +17,7 @@
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <giomm/actiongroup.h>
#include <giomm/actionmap.h>
#include <giomm/applicationcommandline.h>
#include <giomm/file.h>
@@ -31,8 +32,6 @@ namespace Gio
_WRAP_ENUM(ApplicationFlags, GApplicationFlags, NO_GTYPE)
-class ActionGroup;
-
/** Application - Core application class.
* An Application is the foundation of an application, unique for a given
* application identifier. The Application class wraps some low-level
@@ -79,9 +78,10 @@ class ActionGroup;
*
* @newin{2,32}
*/
-class Application : public Glib::Object, public ActionMap
+class Application : public Glib::Object, public ActionGroup, public ActionMap
{
_CLASS_GOBJECT(Application, GApplication, G_APPLICATION, Glib::Object, GObject)
+ _IMPLEMENTS_INTERFACE(ActionGroup)
_IMPLEMENTS_INTERFACE(ActionMap)
protected:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]