summaryrefslogtreecommitdiff
path: root/libxfce4menu/xfce-menu-separator.c
diff options
context:
space:
mode:
Diffstat (limited to 'libxfce4menu/xfce-menu-separator.c')
-rw-r--r--libxfce4menu/xfce-menu-separator.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/libxfce4menu/xfce-menu-separator.c b/libxfce4menu/xfce-menu-separator.c
index 8cdc3d8..72f53da 100644
--- a/libxfce4menu/xfce-menu-separator.c
+++ b/libxfce4menu/xfce-menu-separator.c
@@ -34,6 +34,7 @@ static void xfce_menu_separator_init (XfceMenuSeparator
static void xfce_menu_separator_finalize (GObject *object);
static const gchar *xfce_menu_separator_get_element_name (XfceMenuElement *element);
static const gchar *xfce_menu_separator_get_element_icon_name (XfceMenuElement *element);
+static gboolean xfce_menu_separator_get_element_visible (XfceMenuElement *element);
@@ -134,6 +135,7 @@ xfce_menu_separator_element_init (XfceMenuElementIface *iface)
{
iface->get_name = xfce_menu_separator_get_element_name;
iface->get_icon_name = xfce_menu_separator_get_element_icon_name;
+ iface->get_visible = xfce_menu_separator_get_element_visible;
}
@@ -174,3 +176,12 @@ xfce_menu_separator_get_element_icon_name (XfceMenuElement *element)
{
return NULL;
}
+
+
+
+static gboolean
+xfce_menu_separator_get_element_visible (XfceMenuElement *element)
+{
+ return TRUE;
+}
+