[gnome-control-center/gbsneto/panel-widget-in-sidebar: 6/14] trivial: Update code style
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/gbsneto/panel-widget-in-sidebar: 6/14] trivial: Update code style
- Date: Fri, 16 Nov 2018 17:20:48 +0000 (UTC)
commit 6541c128df9b06aeb2a2a8df40e5c00ecb3c7907
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Mon Nov 12 00:41:36 2018 -0200
trivial: Update code style
shell/cc-panel.c | 2 +-
shell/cc-panel.h | 17 ++++++++---------
2 files changed, 9 insertions(+), 10 deletions(-)
---
diff --git a/shell/cc-panel.c b/shell/cc-panel.c
index e01a6af78..d3c6151de 100644
--- a/shell/cc-panel.c
+++ b/shell/cc-panel.c
@@ -193,7 +193,7 @@ cc_panel_get_shell (CcPanel *panel)
return priv->shell;
}
-const char *
+const gchar*
cc_panel_get_help_uri (CcPanel *panel)
{
CcPanelClass *class = CC_PANEL_GET_CLASS (panel);
diff --git a/shell/cc-panel.h b/shell/cc-panel.h
index 2103451ca..545d6af5c 100644
--- a/shell/cc-panel.h
+++ b/shell/cc-panel.h
@@ -47,7 +47,6 @@ typedef void (*CcPanelStaticInitFunc) (void);
#define CC_TYPE_PANEL (cc_panel_get_type())
-
G_DECLARE_DERIVABLE_TYPE (CcPanel, cc_panel, CC, PANEL, GtkBin)
/**
@@ -77,21 +76,21 @@ G_BEGIN_DECLS
struct _CcPanelClass
{
/*< private >*/
- GtkBinClass parent_class;
+ GtkBinClass parent_class;
- const char * (* get_help_uri) (CcPanel *panel);
+ const gchar* (*get_help_uri) (CcPanel *panel);
- GtkWidget * (* get_title_widget) (CcPanel *panel);
- GtkWidget * (* get_sidebar_widget) (CcPanel *panel);
+ GtkWidget* (*get_title_widget) (CcPanel *panel);
+ GtkWidget* (*get_sidebar_widget) (CcPanel *panel);
};
-CcShell* cc_panel_get_shell (CcPanel *panel);
+CcShell* cc_panel_get_shell (CcPanel *panel);
-GPermission *cc_panel_get_permission (CcPanel *panel);
+GPermission* cc_panel_get_permission (CcPanel *panel);
-const char *cc_panel_get_help_uri (CcPanel *panel);
+const gchar* cc_panel_get_help_uri (CcPanel *panel);
-GtkWidget *cc_panel_get_title_widget (CcPanel *panel);
+GtkWidget* cc_panel_get_title_widget (CcPanel *panel);
GtkWidget* cc_panel_get_sidebar_widget (CcPanel *panel);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]