aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/test-gtk-label-server.c2
-rw-r--r--tests/test-gtk-label.h7
2 files changed, 5 insertions, 4 deletions
diff --git a/tests/test-gtk-label-server.c b/tests/test-gtk-label-server.c
index 0e395d4..426daa2 100644
--- a/tests/test-gtk-label-server.c
+++ b/tests/test-gtk-label-server.c
@@ -8,7 +8,7 @@
#include <libdbusmenu-glib/menuitem.h>
#include <libdbusmenu-glib/server.h>
-#include "test-glib-properties.h"
+#include "test-gtk-label.h"
static void
set_props (DbusmenuMenuitem * mi, gchar ** props)
diff --git a/tests/test-gtk-label.h b/tests/test-gtk-label.h
index ca98700..e63ac44 100644
--- a/tests/test-gtk-label.h
+++ b/tests/test-gtk-label.h
@@ -9,6 +9,7 @@ struct _proplayout_t {
};
gchar * props1[] = {"label", "value1", NULL};
+gchar * props2[] = {"label", "value1", NULL};
gchar * props3[] = {"label",
"And a property name that is really long should have a value that is really long, because well, that's an important part of the yin and yang of software testing.",
NULL};
@@ -65,9 +66,9 @@ proplayout_t submenu_4_0[] = {
};
proplayout_t layouts[] = {
- {id: 1, properties: props1, submenu: NULL},
- {id: 10, properties: props2, submenu: NULL},
- {id: 20, properties: props3, submenu: NULL},
+ {id: 1, properties: props1, submenu: submenu_4_3},
+ {id: 10, properties: props2, submenu: submenu_4_2},
+ {id: 20, properties: props3, submenu: submenu_4_1},
{id: 100, properties: props2, submenu: submenu_4_0},
{id: 0, properties: NULL, submenu: NULL}
};