aboutsummaryrefslogtreecommitdiff
path: root/tests/listen-and-print.c
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-02-12 16:43:32 -0600
committerTed Gould <ted@canonical.com>2009-02-12 16:43:32 -0600
commit3eb4043f4a65d15996b8463502bef5b680019a57 (patch)
treef014bf2b82d73f9188e5db190ee6bc845c1b15f4 /tests/listen-and-print.c
parent6b3a32c443111a23d2953d85be2f2f3b930ed405 (diff)
downloadlibayatana-indicator-3eb4043f4a65d15996b8463502bef5b680019a57.tar.gz
libayatana-indicator-3eb4043f4a65d15996b8463502bef5b680019a57.tar.bz2
libayatana-indicator-3eb4043f4a65d15996b8463502bef5b680019a57.zip
Adding in support for icons, specifically passing them back and forth on the bus
Diffstat (limited to 'tests/listen-and-print.c')
-rw-r--r--tests/listen-and-print.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/listen-and-print.c b/tests/listen-and-print.c
index dca299b..a4c8c25 100644
--- a/tests/listen-and-print.c
+++ b/tests/listen-and-print.c
@@ -48,8 +48,9 @@ show_property_time_cb (IndicateListener * listener, IndicateListenerServer * ser
static void
show_property_icon_cb (IndicateListener * listener, IndicateListenerServer * server, IndicateListenerIndicator * indicator, gchar * property, GdkPixbuf * propertydata, gpointer data)
{
-
-
+ g_debug("Indicator Property: %s %d %s %dx%d", INDICATE_LISTENER_SERVER_DBUS_NAME(server), INDICATE_LISTENER_INDICATOR_ID(indicator), property, gdk_pixbuf_get_width(propertydata), gdk_pixbuf_get_height(propertydata));
+ g_object_unref(G_OBJECT(propertydata));
+ return;
}
static void