[Xfce4-commits] [apps/xfdashboard] 01/02: Derive XfdashboardPopupMenuItemSeparator from XfdashboardBackground instead of XfdashboardActor to make it more stylable

noreply at xfce.org noreply at xfce.org
Wed Jan 11 17:59:51 CET 2017


This is an automated email from the git hooks/post-receive script.

nomad pushed a commit to branch master
in repository apps/xfdashboard.

commit 7d3aff45c3daa959cd29ff137500c29ef02a9593
Author: Stephan Haller <nomad at froevel.de>
Date:   Tue Jan 10 06:22:56 2017 +0100

    Derive XfdashboardPopupMenuItemSeparator from XfdashboardBackground instead of XfdashboardActor to make it more stylable
---
 libxfdashboard/popup-menu-item-separator.c | 2 +-
 libxfdashboard/popup-menu-item-separator.h | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/libxfdashboard/popup-menu-item-separator.c b/libxfdashboard/popup-menu-item-separator.c
index 9d61260..e284bb4 100644
--- a/libxfdashboard/popup-menu-item-separator.c
+++ b/libxfdashboard/popup-menu-item-separator.c
@@ -39,7 +39,7 @@ static void _xfdashboard_popup_menu_item_separator_popup_menu_item_iface_init(Xf
 
 G_DEFINE_TYPE_WITH_CODE(XfdashboardPopupMenuItemSeparator,
 						xfdashboard_popup_menu_item_separator,
-						XFDASHBOARD_TYPE_ACTOR,
+						XFDASHBOARD_TYPE_BACKGROUND,
 						G_IMPLEMENT_INTERFACE(XFDASHBOARD_TYPE_POPUP_MENU_ITEM, _xfdashboard_popup_menu_item_separator_popup_menu_item_iface_init))
 
 /* Private structure - access only by public API if needed */
diff --git a/libxfdashboard/popup-menu-item-separator.h b/libxfdashboard/popup-menu-item-separator.h
index ddbe457..8f042a2 100644
--- a/libxfdashboard/popup-menu-item-separator.h
+++ b/libxfdashboard/popup-menu-item-separator.h
@@ -28,7 +28,7 @@
 #error "Only <libxfdashboard/libxfdashboard.h> can be included directly."
 #endif
 
-#include <libxfdashboard/actor.h>
+#include <libxfdashboard/background.h>
 
 G_BEGIN_DECLS
 
@@ -53,7 +53,7 @@ struct _XfdashboardPopupMenuItemSeparator
 {
 	/*< private >*/
 	/* Parent instance */
-	XfdashboardActor								parent_instance;
+	XfdashboardBackground							parent_instance;
 
 	/* Private structure */
 	XfdashboardPopupMenuItemSeparatorPrivate		*priv;
@@ -68,7 +68,7 @@ struct _XfdashboardPopupMenuItemSeparatorClass
 {
 	/*< private >*/
 	/* Parent class */
-	XfdashboardActorClass							parent_class;
+	XfdashboardBackgroundClass						parent_class;
 
 	/*< public >*/
 	/* Virtual functions */

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list