aboutsummaryrefslogtreecommitdiff
path: root/tests/dummy-indicator-signaler.c
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-11-04 11:14:22 -0600
committerTed Gould <ted@canonical.com>2009-11-04 11:14:22 -0600
commit8c321faf4fe07293d747438923d10839bbf9ac6c (patch)
tree881e3d71b3783e41229c6c7d487d32f068a0085a /tests/dummy-indicator-signaler.c
parent8033011194d1063ca6cb16ec99e00e6ade2fcc42 (diff)
downloadlibayatana-indicator-8c321faf4fe07293d747438923d10839bbf9ac6c.tar.gz
libayatana-indicator-8c321faf4fe07293d747438923d10839bbf9ac6c.tar.bz2
libayatana-indicator-8c321faf4fe07293d747438923d10839bbf9ac6c.zip
Adding a simple indicator test that checks to make sure we can signal up the stack.
Diffstat (limited to 'tests/dummy-indicator-signaler.c')
-rw-r--r--tests/dummy-indicator-signaler.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/dummy-indicator-signaler.c b/tests/dummy-indicator-signaler.c
index b88cea9..0444110 100644
--- a/tests/dummy-indicator-signaler.c
+++ b/tests/dummy-indicator-signaler.c
@@ -79,8 +79,8 @@ idle_signal (gpointer data)
{
DummyIndicatorSignaler * self = DUMMY_INDICATOR_SIGNALER(data);
- g_signal_emit(G_OBJECT(self), INDICATOR_OBJECT_SIGNAL_ENTRY_ADDED_ID, 0, (gpointer)5, TRUE);
- g_signal_emit(G_OBJECT(self), INDICATOR_OBJECT_SIGNAL_ENTRY_REMOVED_ID, 0, (gpointer)5, TRUE);
+ g_signal_emit(G_OBJECT(self), INDICATOR_OBJECT_SIGNAL_ENTRY_ADDED_ID, 0, GUINT_TO_POINTER(5), TRUE);
+ g_signal_emit(G_OBJECT(self), INDICATOR_OBJECT_SIGNAL_ENTRY_REMOVED_ID, 0, GUINT_TO_POINTER(5), TRUE);
return FALSE; /* Don't queue again */
}