[gnome-panel/wip-align-applet-header] applet.h: cleanup formatting
- From: Sebastian Geiger <segeiger src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel/wip-align-applet-header] applet.h: cleanup formatting
- Date: Sun, 30 May 2021 12:15:56 +0000 (UTC)
commit bf4fd5d0342427d2ba45a06b5e570e50f5268197
Author: Sebastian Geiger <sbastig gmx net>
Date: Sun May 30 14:15:45 2021 +0200
applet.h: cleanup formatting
gnome-panel/applet.h | 39 ++++++++++++++++++++-------------------
1 file changed, 20 insertions(+), 19 deletions(-)
---
diff --git a/gnome-panel/applet.h b/gnome-panel/applet.h
index d34269a79..a6bc78086 100644
--- a/gnome-panel/applet.h
+++ b/gnome-panel/applet.h
@@ -8,37 +8,38 @@
G_BEGIN_DECLS
-#define APPLET_EVENT_MASK (GDK_BUTTON_PRESS_MASK | \
- GDK_BUTTON_RELEASE_MASK | \
- GDK_POINTER_MOTION_MASK | \
- GDK_POINTER_MOTION_HINT_MASK)
+#define APPLET_EVENT_MASK (GDK_BUTTON_PRESS_MASK | \
+ GDK_BUTTON_RELEASE_MASK | \
+ GDK_POINTER_MOTION_MASK | \
+ GDK_POINTER_MOTION_HINT_MASK)
+
typedef struct {
- GtkWidget *widget;
- GSettings *settings;
+ GtkWidget *widget;
+ GSettings *settings;
- char *id;
+ char *id;
} AppletInfo;
-AppletInfo *panel_applet_register (GtkWidget *applet,
- PanelWidget *panel,
- const char *id,
- GSettings *settings);
+AppletInfo *panel_applet_register (GtkWidget *applet,
+ PanelWidget *panel,
+ const char *id,
+ GSettings *settings);
-const char *panel_applet_get_id (AppletInfo *info);
+const char *panel_applet_get_id (AppletInfo *info);
-gboolean panel_applet_activate_main_menu (guint32 activate_time);
+gboolean panel_applet_activate_main_menu (guint32 activate_time);
-GSList *panel_applet_list_applets (void);
+GSList *panel_applet_list_applets (void);
-void panel_applet_clean (AppletInfo *info);
+void panel_applet_clean (AppletInfo *info);
-void panel_applet_save_position (AppletInfo *applet_info,
- const char *id,
- gboolean immediate);
+void panel_applet_save_position (AppletInfo *applet_info,
+ const char *id,
+ gboolean immediate);
/* True if all the keys relevant to moving are writable
(position, toplevel_id, panel_right_stick) */
-gboolean panel_applet_can_freely_move (AppletInfo *applet);
+gboolean panel_applet_can_freely_move (AppletInfo *applet);
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]