[Xfce4-commits] [xfce/tumbler] 08/11: Fixed a typo in g_variant_is_of_type.
noreply at xfce.org
noreply at xfce.org
Mon May 15 13:20:36 CEST 2017
This is an automated email from the git hooks/post-receive script.
ali pushed a commit to branch master
in repository xfce/tumbler.
commit a52fce150b161149886f417b80b78bcfe977accf
Author: Ali Abdallah <aliovx at gmail.com>
Date: Wed Oct 14 13:47:25 2015 +0200
Fixed a typo in g_variant_is_of_type.
Indentation prob also is fixed.
---
tumblerd/main.c | 44 +++++++++++++++---------------
tumblerd/tumbler-manager.c | 14 +++++-----
tumblerd/tumbler-specialized-thumbnailer.c | 2 +-
3 files changed, 30 insertions(+), 30 deletions(-)
diff --git a/tumblerd/main.c b/tumblerd/main.c
index 1bc64cf..73b5af2 100644
--- a/tumblerd/main.c
+++ b/tumblerd/main.c
@@ -215,8 +215,8 @@ locations_from_strv (gchar **array)
static void
on_dbus_name_lost (GDBusConnection *connection,
- const gchar *name,
- gpointer user_data)
+ const gchar *name,
+ gpointer user_data)
{
GMainLoop *main_loop;
@@ -380,30 +380,30 @@ main (int argc,
/* Acquire the cache service dbus name */
g_bus_own_name_on_connection (connection,
- "org.freedesktop.thumbnails.Cache1",
- G_BUS_NAME_OWNER_FLAGS_REPLACE,
- NULL, /* We dont need to do anything on name acquired*/
- on_dbus_name_lost,
- main_loop,
- NULL);
-
+ "org.freedesktop.thumbnails.Cache1",
+ G_BUS_NAME_OWNER_FLAGS_REPLACE,
+ NULL, /* We dont need to do anything on name acquired*/
+ on_dbus_name_lost,
+ main_loop,
+ NULL);
+
/* Acquire the manager dbus name */
g_bus_own_name_on_connection (connection,
- "org.freedesktop.thumbnails.Manager1",
- G_BUS_NAME_OWNER_FLAGS_REPLACE,
- NULL, /* We dont need to do anything on name acquired*/
- on_dbus_name_lost,
- main_loop,
- NULL);
-
+ "org.freedesktop.thumbnails.Manager1",
+ G_BUS_NAME_OWNER_FLAGS_REPLACE,
+ NULL, /* We dont need to do anything on name acquired*/
+ on_dbus_name_lost,
+ main_loop,
+ NULL);
+
/* Acquire the thumbnailer service dbus name */
g_bus_own_name_on_connection (connection,
- "org.freedesktop.thumbnails.Thumbnailer1",
- G_BUS_NAME_OWNER_FLAGS_REPLACE,
- NULL, /* We dont need to do anything on name acquired*/
- on_dbus_name_lost,
- main_loop,
- NULL);
+ "org.freedesktop.thumbnails.Thumbnailer1",
+ G_BUS_NAME_OWNER_FLAGS_REPLACE,
+ NULL, /* We dont need to do anything on name acquired*/
+ on_dbus_name_lost,
+ main_loop,
+ NULL);
/* check to see if all services are successfully exported on the bus */
if (tumbler_manager_is_exported(manager) &&
diff --git a/tumblerd/tumbler-manager.c b/tumblerd/tumbler-manager.c
index 570eb98..06acb96 100644
--- a/tumblerd/tumbler-manager.c
+++ b/tumblerd/tumbler-manager.c
@@ -170,11 +170,11 @@ tumbler_manager_class_init (TumblerManagerClass *klass)
g_object_class_install_property (gobject_class, PROP_CONNECTION,
g_param_spec_object ("connection",
- "connection",
- "connection",
- G_TYPE_DBUS_CONNECTION,
- G_PARAM_READWRITE |
- G_PARAM_CONSTRUCT_ONLY));
+ "connection",
+ "connection",
+ G_TYPE_DBUS_CONNECTION,
+ G_PARAM_READWRITE |
+ G_PARAM_CONSTRUCT_ONLY));
g_object_class_install_property (gobject_class, PROP_REGISTRY,
g_param_spec_object ("registry",
@@ -263,8 +263,8 @@ tumbler_manager_finalize (GObject *object)
g_dbus_interface_skeleton_unexport_from_connection
(
G_DBUS_INTERFACE_SKELETON (manager->skeleton),
- manager->connection
- );
+ manager->connection
+ );
/* release the Skeleton object */
g_object_unref (manager->skeleton);
diff --git a/tumblerd/tumbler-specialized-thumbnailer.c b/tumblerd/tumbler-specialized-thumbnailer.c
index 49cd0fd..72d8480 100644
--- a/tumblerd/tumbler-specialized-thumbnailer.c
+++ b/tumblerd/tumbler-specialized-thumbnailer.c
@@ -360,7 +360,7 @@ thumbnailer_proxy_g_signal_cb (GDBusProxy *proxy,
}
else if (strcmp (signal_name, "Error") == 0)
{
- if (g_variant_is_of_type (parameters, G_VARIANT_TYPE ("(usis")))
+ if (g_variant_is_of_type (parameters, G_VARIANT_TYPE ("(usis)")))
{
const gchar *uri, *error_msg;
gint error_code;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list