[devhelp] Replace tabs by spaces in *.c and *.h files
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devhelp] Replace tabs by spaces in *.c and *.h files
- Date: Wed, 4 Apr 2018 16:42:02 +0000 (UTC)
commit f35a934a2e11dbea2f51215fed78fe6fef8452c0
Author: Sébastien Wilmet <swilmet gnome org>
Date: Wed Apr 4 18:39:25 2018 +0200
Replace tabs by spaces in *.c and *.h files
The tabs came from copy/paste from other projects…
Done with:
$ sed -i 's/\t/ /g' **/*.[ch]
devhelp/dh-settings-builder.h | 2 +-
src/dh-app.c | 10 +++++-----
src/dh-tab-label.c | 2 +-
src/dh-tab-label.h | 2 +-
src/dh-tab.h | 2 +-
src/dh-web-view.h | 2 +-
6 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/devhelp/dh-settings-builder.h b/devhelp/dh-settings-builder.h
index 30cb34b..e16aa02 100644
--- a/devhelp/dh-settings-builder.h
+++ b/devhelp/dh-settings-builder.h
@@ -46,7 +46,7 @@ struct _DhSettingsBuilder {
struct _DhSettingsBuilderClass {
GObjectClass parent_class;
- /* Padding for future expansion */
+ /* Padding for future expansion */
gpointer padding[12];
};
diff --git a/src/dh-app.c b/src/dh-app.c
index c9bc5f6..2cf820f 100644
--- a/src/dh-app.c
+++ b/src/dh-app.c
@@ -363,15 +363,15 @@ setup_accelerators (GtkApplication *app)
static void
set_app_menu_if_needed (GtkApplication *app)
{
- GMenu *manual_app_menu;
+ GMenu *manual_app_menu;
- manual_app_menu = gtk_application_get_menu_by_id (app, "manual-app-menu");
+ manual_app_menu = gtk_application_get_menu_by_id (app, "manual-app-menu");
/* Have the g_return in all cases, to catch problems in all cases. */
- g_return_if_fail (manual_app_menu != NULL);
+ g_return_if_fail (manual_app_menu != NULL);
- if (gtk_application_prefers_app_menu (app))
- gtk_application_set_app_menu (app, G_MENU_MODEL (manual_app_menu));
+ if (gtk_application_prefers_app_menu (app))
+ gtk_application_set_app_menu (app, G_MENU_MODEL (manual_app_menu));
}
static void
diff --git a/src/dh-tab-label.c b/src/dh-tab-label.c
index 6818af5..b005c7d 100644
--- a/src/dh-tab-label.c
+++ b/src/dh-tab-label.c
@@ -178,7 +178,7 @@ create_close_button (void)
static void
close_button_clicked_cb (GtkButton *close_button,
- DhTabLabel *tab_label)
+ DhTabLabel *tab_label)
{
if (tab_label->priv->tab != NULL)
gtk_widget_destroy (GTK_WIDGET (tab_label->priv->tab));
diff --git a/src/dh-tab-label.h b/src/dh-tab-label.h
index b40ce18..93b7e37 100644
--- a/src/dh-tab-label.h
+++ b/src/dh-tab-label.h
@@ -46,7 +46,7 @@ struct _DhTabLabel {
struct _DhTabLabelClass {
GtkGridClass parent_class;
- /* Padding for future expansion */
+ /* Padding for future expansion */
gpointer padding[12];
};
diff --git a/src/dh-tab.h b/src/dh-tab.h
index a655059..c2729f2 100644
--- a/src/dh-tab.h
+++ b/src/dh-tab.h
@@ -46,7 +46,7 @@ struct _DhTab {
struct _DhTabClass {
GtkGridClass parent_class;
- /* Padding for future expansion */
+ /* Padding for future expansion */
gpointer padding[12];
};
diff --git a/src/dh-web-view.h b/src/dh-web-view.h
index a39b385..89b51f1 100644
--- a/src/dh-web-view.h
+++ b/src/dh-web-view.h
@@ -45,7 +45,7 @@ struct _DhWebView {
struct _DhWebViewClass {
WebKitWebViewClass parent_class;
- /* Padding for future expansion */
+ /* Padding for future expansion */
gpointer padding[12];
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]