diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2012-11-30 18:47:20 +0100 |
---|---|---|
committer | Lars Uebernickel <lars.uebernickel@canonical.com> | 2012-11-30 18:47:20 +0100 |
commit | 1d9ee577e7950edfc58f74888167ed2ace39e4e5 (patch) | |
tree | 10eb4f73c262fcf503396d6870800f0d76d12e2d /libmessaging-menu | |
parent | fd565c27f8ae579aa28e4aac459488b3dd7af119 (diff) | |
download | ayatana-indicator-messages-1d9ee577e7950edfc58f74888167ed2ace39e4e5.tar.gz ayatana-indicator-messages-1d9ee577e7950edfc58f74888167ed2ace39e4e5.tar.bz2 ayatana-indicator-messages-1d9ee577e7950edfc58f74888167ed2ace39e4e5.zip |
Don't export the messaging_menu_message_to_variant symbol
Diffstat (limited to 'libmessaging-menu')
-rw-r--r-- | libmessaging-menu/messaging-menu-app.c | 6 | ||||
-rw-r--r-- | libmessaging-menu/messaging-menu-message.c | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/libmessaging-menu/messaging-menu-app.c b/libmessaging-menu/messaging-menu-app.c index 3747705..7e61324 100644 --- a/libmessaging-menu/messaging-menu-app.c +++ b/libmessaging-menu/messaging-menu-app.c @@ -152,7 +152,7 @@ static void global_status_changed (IndicatorMessagesService *service, gpointer user_data); /* in messaging-menu-message.c */ -GVariant * messaging_menu_message_to_variant (MessagingMenuMessage *msg); +GVariant * _messaging_menu_message_to_variant (MessagingMenuMessage *msg); static void source_free (gpointer data) @@ -533,7 +533,7 @@ messaging_menu_app_list_messages (IndicatorMessagesApplication *app_interface, g_hash_table_iter_init (&iter, app->messages); while (g_hash_table_iter_next (&iter, NULL, (gpointer *) &message)) - g_variant_builder_add_value (&builder, messaging_menu_message_to_variant (message)); + g_variant_builder_add_value (&builder, _messaging_menu_message_to_variant (message)); indicator_messages_application_complete_list_messages (app_interface, invocation, @@ -1347,7 +1347,7 @@ messaging_menu_app_append_message (MessagingMenuApp *app, g_hash_table_insert (app->messages, g_strdup (id), g_object_ref (msg)); indicator_messages_application_emit_message_added (app->app_interface, - messaging_menu_message_to_variant (msg)); + _messaging_menu_message_to_variant (msg)); if (source_id) { diff --git a/libmessaging-menu/messaging-menu-message.c b/libmessaging-menu/messaging-menu-message.c index 886c552..b81cbea 100644 --- a/libmessaging-menu/messaging-menu-message.c +++ b/libmessaging-menu/messaging-menu-message.c @@ -491,7 +491,7 @@ action_to_variant (Action *action) } /*<internal> - * messaging_menu_message_to_variant: + * _messaging_menu_message_to_variant: * @msg: a #MessagingMenuMessage * * Serializes @msg to a #GVariant of the form (sssssxaa{sv}b): @@ -508,7 +508,7 @@ action_to_variant (Action *action) * Returns: a new floating #GVariant instance */ GVariant * -messaging_menu_message_to_variant (MessagingMenuMessage *msg) +_messaging_menu_message_to_variant (MessagingMenuMessage *msg) { GVariantBuilder builder; GSList *it; |