Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.

Commit

Permalink
Remove g_print debug statements
Browse files Browse the repository at this point in the history
  • Loading branch information
juliushaertl committed Aug 3, 2017
1 parent 1c9c1b1 commit 26b7ddf
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion data/cloudprovider-dbus.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<arg type='s' name='name' direction='out'/>
</method>
<method name='GetStatus'>
<arg type='i' name='name' direction='out'/>
<arg type='i' name='status' direction='out'/>
</method>
<method name='GetStatusDetails'>
<arg type='s' name='path' direction='out'/>
Expand Down
4 changes: 0 additions & 4 deletions src/cloudprovider.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ cloud_provider_export_account(CloudProvider* cloud_provider,
CloudProviderPrivate *priv = cloud_provider_get_instance_private(cloud_provider);
CloudProviderObjectSkeleton *object;
gchar *object_path = g_strconcat (priv->object_path, "/", account_name, NULL);
g_print("%s\n", object_path);
object = cloud_provider_object_skeleton_new(object_path);
cloud_provider_object_skeleton_set_account1(object, account);
g_dbus_object_manager_server_export (priv->manager,
Expand All @@ -56,7 +55,6 @@ cloud_provider_unexport_account(CloudProvider* cloud_provider,
{
CloudProviderPrivate *priv = cloud_provider_get_instance_private(cloud_provider);
gchar *object_path = g_strconcat (priv->object_path, "/", account_name, NULL);
g_print(object_path);
g_dbus_object_manager_server_unexport (priv->manager, object_path);
guint *export_id;
export_id = (guint*)g_hash_table_lookup(priv->menuModels, account_name);
Expand All @@ -80,7 +78,6 @@ cloud_provider_export_menu(CloudProvider* cloud_provider,
CloudProviderPrivate *priv = cloud_provider_get_instance_private(cloud_provider);
gchar *object_path = g_strconcat(priv->object_path, "/", account_name, NULL);
GError *error = NULL;
g_print ("Exporting menus on the bus...\n");
guint *export_id = g_new0(guint, 1);
*export_id = g_dbus_connection_export_menu_model (priv->bus, object_path, model, &error);
if (!*export_id)
Expand All @@ -102,7 +99,6 @@ cloud_provider_export_actions(CloudProvider* cloud_provider,
GError *error = NULL;
guint *export_id = g_new0(guint, 1);
*export_id = g_dbus_connection_export_action_group (priv->bus, object_path, action_group, &error);
g_print ("Exporting actions on the bus...\n");
if (!*export_id)
{
g_warning ("Action export failed: %s", error->message);
Expand Down
3 changes: 1 addition & 2 deletions src/cloudprovidermanager.c
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ cloud_provider_manager_update (CloudProviderManager *manager)
priv->providers_objects = g_variant_builder_end(priv->provider_object_managers);
g_variant_builder_unref (priv->provider_object_managers);
gchar *provider_debug = g_variant_print(priv->providers_objects, TRUE);
g_print("%s\n", provider_debug);
g_debug("%s\n", provider_debug);
g_free(provider_debug);
}

Expand All @@ -165,7 +165,6 @@ handle_get_cloud_providers (CloudProviderManager1 *interface,
{
CloudProviderManagerPrivate *priv = cloud_provider_manager_get_instance_private (CLOUD_PROVIDER_MANAGER(user_data));
g_variant_ref(priv->providers_objects);
g_print("=> %s\n", g_variant_print(priv->providers_objects, TRUE));
cloud_provider_manager1_complete_get_cloud_providers (interface, invocation, priv->providers_objects);
}

Expand Down

0 comments on commit 26b7ddf

Please sign in to comment.