[gnome-control-center] Whitespace fixes for g_autoptr coding style
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] Whitespace fixes for g_autoptr coding style
- Date: Thu, 7 Nov 2019 20:47:31 +0000 (UTC)
commit 19ccad96aed0006cd610d189f48297823493e810
Author: Robert Ancell <robert ancell canonical com>
Date: Fri Nov 8 09:42:10 2019 +1300
Whitespace fixes for g_autoptr coding style
panels/display/cc-display-panel.c | 2 +-
panels/online-accounts/cc-online-accounts-panel.c | 2 +-
shell/cc-application.c | 4 ++--
shell/cc-panel.c | 2 +-
shell/cc-window.c | 2 +-
5 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/panels/display/cc-display-panel.c b/panels/display/cc-display-panel.c
index b20617f21..843116d34 100644
--- a/panels/display/cc-display-panel.c
+++ b/panels/display/cc-display-panel.c
@@ -1186,7 +1186,7 @@ session_bus_ready (GObject *source,
static void
cc_display_panel_init (CcDisplayPanel *self)
{
- g_autoptr (GtkCssProvider) provider = NULL;
+ g_autoptr(GtkCssProvider) provider = NULL;
GtkCellRenderer *renderer;
g_resources_register (cc_display_get_resource ());
diff --git a/panels/online-accounts/cc-online-accounts-panel.c
b/panels/online-accounts/cc-online-accounts-panel.c
index 0af60fc1f..87d8b51d6 100644
--- a/panels/online-accounts/cc-online-accounts-panel.c
+++ b/panels/online-accounts/cc-online-accounts-panel.c
@@ -869,7 +869,7 @@ get_all_providers_cb (GObject *source,
GAsyncResult *res,
gpointer user_data)
{
- g_autoptr (CcGoaPanel) self = user_data;
+ g_autoptr(CcGoaPanel) self = user_data;
GList *providers;
GList *l;
diff --git a/shell/cc-application.c b/shell/cc-application.c
index aea0e9b72..8de3c6fb4 100644
--- a/shell/cc-application.c
+++ b/shell/cc-application.c
@@ -96,8 +96,8 @@ launch_panel_activated (GSimpleAction *action,
gpointer user_data)
{
CcApplication *self = CC_APPLICATION (user_data);
- g_autoptr (GVariant) parameters = NULL;
- g_autoptr (GError) error = NULL;
+ g_autoptr(GVariant) parameters = NULL;
+ g_autoptr(GError) error = NULL;
gchar *panel_id;
g_variant_get (parameter, "(&s@av)", &panel_id, ¶meters);
diff --git a/shell/cc-panel.c b/shell/cc-panel.c
index 8a299c681..e3ae384fb 100644
--- a/shell/cc-panel.c
+++ b/shell/cc-panel.c
@@ -88,7 +88,7 @@ cc_panel_set_property (GObject *object,
case PROP_PARAMETERS:
{
- g_autoptr (GVariant) v = NULL;
+ g_autoptr(GVariant) v = NULL;
GVariant *parameters;
gsize n_parameters;
diff --git a/shell/cc-window.c b/shell/cc-window.c
index 74ec0eabe..78042c1a6 100644
--- a/shell/cc-window.c
+++ b/shell/cc-window.c
@@ -156,7 +156,7 @@ activate_panel (CcWindow *self,
GIcon *gicon,
CcPanelVisibility visibility)
{
- g_autoptr (GTimer) timer = NULL;
+ g_autoptr(GTimer) timer = NULL;
GtkWidget *sidebar_widget;
GtkWidget *title_widget;
gdouble ellapsed_time;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]