diff options
author | Michal Ratajsky <[email protected]> | 2016-01-07 01:00:27 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-02-21 11:55:59 +0100 |
commit | 7666c62a307e3cb23994add9f58c8d03478f152f (patch) | |
tree | ccf74e05c8f3fdc7225a353462da782da0f00349 /examples/monitor.c | |
parent | dd5f0d6489ce7a2b4156b3a6b44da09eb1336611 (diff) | |
download | libmatemixer-7666c62a307e3cb23994add9f58c8d03478f152f.tar.bz2 libmatemixer-7666c62a307e3cb23994add9f58c8d03478f152f.tar.xz |
Change added/removed signal argument from name to object
Diffstat (limited to 'examples/monitor.c')
-rw-r--r-- | examples/monitor.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/examples/monitor.c b/examples/monitor.c index 0c7155f..28288d3 100644 --- a/examples/monitor.c +++ b/examples/monitor.c @@ -327,27 +327,27 @@ on_context_state_notify (void) } static void -on_context_device_added (MateMixerContext *context, const gchar *name) +on_context_device_added (MateMixerContext *context, MateMixerDevice *device) { - g_print ("Device added: %s\n", name); + g_print ("Device added: %s\n", mate_mixer_device_get_name (device)); } static void -on_context_device_removed (MateMixerContext *context, const gchar *name) +on_context_device_removed (MateMixerContext *context, MateMixerDevice *device) { - g_print ("Device removed: %s\n", name); + g_print ("Device removed: %s\n", mate_mixer_device_get_name (device)); } static void -on_context_stream_added (MateMixerContext *context, const gchar *name) +on_context_stream_added (MateMixerContext *context, MateMixerStream *stream) { - g_print ("Stream added: %s\n", name); + g_print ("Stream added: %s\n", mate_mixer_stream_get_name (stream)); } static void -on_context_stream_removed (MateMixerContext *context, const gchar *name) +on_context_stream_removed (MateMixerContext *context, MateMixerStream *stream) { - g_print ("Stream removed: %s\n", name); + g_print ("Stream removed: %s\n", mate_mixer_stream_get_name (stream)); } #ifdef G_OS_UNIX |