[libdazzle] shortcuts: header whitespace cleanup



commit 7ac392b16e1dfef90295284bd2b19fe588ef952f
Author: Christian Hergert <chergert redhat com>
Date:   Mon Jun 12 18:48:13 2017 -0700

    shortcuts: header whitespace cleanup

 src/shortcuts/dzl-shortcut-chord.h   |   72 +++++++++++++++++-----------------
 src/shortcuts/dzl-shortcut-private.h |   50 ++++++++++++------------
 2 files changed, 61 insertions(+), 61 deletions(-)
---
diff --git a/src/shortcuts/dzl-shortcut-chord.h b/src/shortcuts/dzl-shortcut-chord.h
index a0bfae7..4149475 100644
--- a/src/shortcuts/dzl-shortcut-chord.h
+++ b/src/shortcuts/dzl-shortcut-chord.h
@@ -42,47 +42,47 @@ typedef void (*DzlShortcutChordTableForeach) (const DzlShortcutChord *chord,
                                               gpointer                user_data);
 
 GType                   dzl_shortcut_chord_get_type            (void);
-DzlShortcutChord       *dzl_shortcut_chord_new_from_event      (const GdkEventKey           *event);
-DzlShortcutChord       *dzl_shortcut_chord_new_from_string     (const gchar                 *accelerator);
-gchar                  *dzl_shortcut_chord_to_string           (const DzlShortcutChord      *self);
-gchar                  *dzl_shortcut_chord_get_label           (const DzlShortcutChord      *self);
-guint                   dzl_shortcut_chord_get_length          (const DzlShortcutChord      *self);
-void                    dzl_shortcut_chord_get_nth_key         (const DzlShortcutChord      *self,
-                                                                guint                        nth,
-                                                                guint                       *keyval,
-                                                                GdkModifierType             *modifier);
-gboolean                dzl_shortcut_chord_has_modifier        (const DzlShortcutChord      *self);
-gboolean                dzl_shortcut_chord_append_event        (DzlShortcutChord            *self,
-                                                                const GdkEventKey           *event);
-DzlShortcutMatch        dzl_shortcut_chord_match               (const DzlShortcutChord      *self,
-                                                                const DzlShortcutChord      *other);
-guint                   dzl_shortcut_chord_hash                (gconstpointer                data);
-gboolean                dzl_shortcut_chord_equal               (gconstpointer                data1,
-                                                                gconstpointer                data2);
-DzlShortcutChord       *dzl_shortcut_chord_copy                (const DzlShortcutChord      *self);
-void                    dzl_shortcut_chord_free                (DzlShortcutChord            *self);
+DzlShortcutChord       *dzl_shortcut_chord_new_from_event      (const GdkEventKey            *event);
+DzlShortcutChord       *dzl_shortcut_chord_new_from_string     (const gchar                  *accelerator);
+gchar                  *dzl_shortcut_chord_to_string           (const DzlShortcutChord       *self);
+gchar                  *dzl_shortcut_chord_get_label           (const DzlShortcutChord       *self);
+guint                   dzl_shortcut_chord_get_length          (const DzlShortcutChord       *self);
+void                    dzl_shortcut_chord_get_nth_key         (const DzlShortcutChord       *self,
+                                                                guint                         nth,
+                                                                guint                        *keyval,
+                                                                GdkModifierType              *modifier);
+gboolean                dzl_shortcut_chord_has_modifier        (const DzlShortcutChord       *self);
+gboolean                dzl_shortcut_chord_append_event        (DzlShortcutChord             *self,
+                                                                const GdkEventKey            *event);
+DzlShortcutMatch        dzl_shortcut_chord_match               (const DzlShortcutChord       *self,
+                                                                const DzlShortcutChord       *other);
+guint                   dzl_shortcut_chord_hash                (gconstpointer                 data);
+gboolean                dzl_shortcut_chord_equal               (gconstpointer                 data1,
+                                                                gconstpointer                 data2);
+DzlShortcutChord       *dzl_shortcut_chord_copy                (const DzlShortcutChord       *self);
+void                    dzl_shortcut_chord_free                (DzlShortcutChord             *self);
 GType                   dzl_shortcut_chord_table_get_type      (void);
 DzlShortcutChordTable  *dzl_shortcut_chord_table_new           (void);
-void                    dzl_shortcut_chord_table_set_free_func (DzlShortcutChordTable       *self,
-                                                                GDestroyNotify               notify);
-void                    dzl_shortcut_chord_table_free          (DzlShortcutChordTable       *self);
-void                    dzl_shortcut_chord_table_add           (DzlShortcutChordTable       *self,
-                                                                const DzlShortcutChord      *chord,
-                                                                gpointer                     data);
-gboolean                dzl_shortcut_chord_table_remove        (DzlShortcutChordTable       *self,
-                                                                const DzlShortcutChord      *chord);
-gboolean                dzl_shortcut_chord_table_remove_data   (DzlShortcutChordTable       *self,
-                                                                gpointer                     data);
-DzlShortcutMatch        dzl_shortcut_chord_table_lookup        (DzlShortcutChordTable       *self,
-                                                                const DzlShortcutChord      *chord,
-                                                                gpointer                    *data);
-const DzlShortcutChord *dzl_shortcut_chord_table_lookup_data   (DzlShortcutChordTable       *self,
-                                                                gpointer                     data);
-guint                   dzl_shortcut_chord_table_size          (const DzlShortcutChordTable *self);
-void                    dzl_shortcut_chord_table_printf        (const DzlShortcutChordTable *self);
+void                    dzl_shortcut_chord_table_set_free_func (DzlShortcutChordTable        *self,
+                                                                GDestroyNotify                notify);
+void                    dzl_shortcut_chord_table_free          (DzlShortcutChordTable        *self);
+void                    dzl_shortcut_chord_table_add           (DzlShortcutChordTable        *self,
+                                                                const DzlShortcutChord       *chord,
+                                                                gpointer                      data);
+gboolean                dzl_shortcut_chord_table_remove        (DzlShortcutChordTable        *self,
+                                                                const DzlShortcutChord       *chord);
+gboolean                dzl_shortcut_chord_table_remove_data   (DzlShortcutChordTable        *self,
+                                                                gpointer                      data);
+DzlShortcutMatch        dzl_shortcut_chord_table_lookup        (DzlShortcutChordTable        *self,
+                                                                const DzlShortcutChord       *chord,
+                                                                gpointer                     *data);
+const DzlShortcutChord *dzl_shortcut_chord_table_lookup_data   (DzlShortcutChordTable        *self,
+                                                                gpointer                      data);
+guint                   dzl_shortcut_chord_table_size          (const DzlShortcutChordTable  *self);
 void                    dzl_shortcut_chord_table_foreach       (const DzlShortcutChordTable  *self,
                                                                 DzlShortcutChordTableForeach  foreach_func,
                                                                 gpointer                      foreach_data);
+void                    dzl_shortcut_chord_table_printf        (const DzlShortcutChordTable  *self);
 GType                   dzl_shortcut_match_get_type            (void);
 
 G_DEFINE_AUTOPTR_CLEANUP_FUNC (DzlShortcutChord, dzl_shortcut_chord_free)
diff --git a/src/shortcuts/dzl-shortcut-private.h b/src/shortcuts/dzl-shortcut-private.h
index cfcb9de..a8d946d 100644
--- a/src/shortcuts/dzl-shortcut-private.h
+++ b/src/shortcuts/dzl-shortcut-private.h
@@ -1,4 +1,4 @@
-/* dzl-shortcut-theme-private.h
+/* dzl-shortcut-private.h
  *
  * Copyright (C) 2017 Christian Hergert <chergert redhat com>
  *
@@ -19,10 +19,10 @@
 #ifndef DZL_SHORTCUT_THEME_PRIVATE_H
 #define DZL_SHORTCUT_THEME_PRIVATE_H
 
-#include "dzl-shortcut-chord.h"
-#include "dzl-shortcut-closure-chain.h"
-#include "dzl-shortcut-manager.h"
-#include "dzl-shortcut-theme.h"
+#include "shortcuts/dzl-shortcut-chord.h"
+#include "shortcuts/dzl-shortcut-closure-chain.h"
+#include "shortcuts/dzl-shortcut-manager.h"
+#include "shortcuts/dzl-shortcut-theme.h"
 
 G_BEGIN_DECLS
 
@@ -87,26 +87,26 @@ typedef enum
   DZL_SHORTCUT_MODEL_N_COLUMNS
 } DzlShortcutModelColumn;
 
-gboolean               _dzl_gtk_widget_activate_action     (GtkWidget                  *widget,
-                                                            const gchar                *prefix,
-                                                            const gchar                *action_name,
-                                                            GVariant                   *parameter);
-GNode                 *_dzl_shortcut_manager_get_root      (DzlShortcutManager         *self);
-GtkTreeModel          *_dzl_shortcut_theme_create_model    (DzlShortcutTheme           *self);
-GHashTable            *_dzl_shortcut_theme_get_contexts    (DzlShortcutTheme           *self);
-void                   _dzl_shortcut_theme_set_manager     (DzlShortcutTheme           *self,
-                                                            DzlShortcutManager         *manager);
-void                   _dzl_shortcut_theme_set_name        (DzlShortcutTheme           *self,
-                                                            const gchar                *name);
-DzlShortcutMatch       _dzl_shortcut_theme_match           (DzlShortcutTheme           *self,
-                                                            const DzlShortcutChord     *chord,
-                                                            DzlShortcutClosureChain   **chain);
-DzlShortcutChordTable *_dzl_shortcut_context_get_table     (DzlShortcutContext         *self);
-void                   _dzl_shortcut_chord_table_iter_init (DzlShortcutChordTableIter  *iter,
-                                                            DzlShortcutChordTable      *table);
-gboolean               _dzl_shortcut_chord_table_iter_next (DzlShortcutChordTableIter  *iter,
-                                                            const DzlShortcutChord    **chord,
-                                                            gpointer                   *value);
+gboolean               _dzl_gtk_widget_activate_action          (GtkWidget                  *widget,
+                                                                 const gchar                *prefix,
+                                                                 const gchar                *action_name,
+                                                                 GVariant                   *parameter);
+GNode                 *_dzl_shortcut_manager_get_root           (DzlShortcutManager         *self);
+GtkTreeModel          *_dzl_shortcut_theme_create_model         (DzlShortcutTheme           *self);
+GHashTable            *_dzl_shortcut_theme_get_contexts         (DzlShortcutTheme           *self);
+void                   _dzl_shortcut_theme_set_manager          (DzlShortcutTheme           *self,
+                                                                 DzlShortcutManager         *manager);
+void                   _dzl_shortcut_theme_set_name             (DzlShortcutTheme           *self,
+                                                                 const gchar                *name);
+DzlShortcutMatch       _dzl_shortcut_theme_match                (DzlShortcutTheme           *self,
+                                                                 const DzlShortcutChord     *chord,
+                                                                 DzlShortcutClosureChain   **chain);
+DzlShortcutChordTable *_dzl_shortcut_context_get_table          (DzlShortcutContext         *self);
+void                   _dzl_shortcut_chord_table_iter_init      (DzlShortcutChordTableIter  *iter,
+                                                                 DzlShortcutChordTable      *table);
+gboolean               _dzl_shortcut_chord_table_iter_next      (DzlShortcutChordTableIter  *iter,
+                                                                 const DzlShortcutChord    **chord,
+                                                                 gpointer                   *value);
 
 G_END_DECLS
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]