summaryrefslogtreecommitdiff
path: root/charpick/charpick.h
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2020-09-03 20:36:57 +0200
committerRobert Antoni Buj Gelonch <[email protected]>2020-10-27 08:07:54 +0100
commit3eefbc5c8946e5d98e2cab5ff7e22513967ac726 (patch)
tree755e98ecf7e3494baf8cd2c420762daa1c0dfaf7 /charpick/charpick.h
parentf61476bf3632cd9af624a1832476cadc89b64411 (diff)
downloadmate-applets-3eefbc5c8946e5d98e2cab5ff7e22513967ac726.tar.bz2
mate-applets-3eefbc5c8946e5d98e2cab5ff7e22513967ac726.tar.xz
charpick: improve code-style
- tab to spaces - fix indents - shorten lines
Diffstat (limited to 'charpick/charpick.h')
-rw-r--r--charpick/charpick.h58
1 files changed, 28 insertions, 30 deletions
diff --git a/charpick/charpick.h b/charpick/charpick.h
index 57e44b27..7a70ef5b 100644
--- a/charpick/charpick.h
+++ b/charpick/charpick.h
@@ -15,26 +15,25 @@
typedef struct _charpick_data charpick_data;
/* this type has basically all data for this program */
struct _charpick_data {
- GList *chartable;
- gchar * charlist;
- gunichar selected_unichar;
- gint last_index;
- GtkWidget *box;
- GtkWidget *frame;
- GtkWidget *applet;
- GtkToggleButton *last_toggle_button;
- gint panel_size;
- gboolean panel_vertical;
- GtkWidget *propwindow;
- GtkWidget *about_dialog;
- GtkWidget *pref_tree;
- GtkWidget *menu;
- GtkWidget *add_edit_dialog;
- GtkWidget *add_edit_entry;
- GSettings *settings;
+ GList *chartable;
+ gchar *charlist;
+ gunichar selected_unichar;
+ gint last_index;
+ GtkWidget *box;
+ GtkWidget *frame;
+ GtkWidget *applet;
+ GtkToggleButton *last_toggle_button;
+ gint panel_size;
+ gboolean panel_vertical;
+ GtkWidget *propwindow;
+ GtkWidget *about_dialog;
+ GtkWidget *pref_tree;
+ GtkWidget *menu;
+ GtkWidget *add_edit_dialog;
+ GtkWidget *add_edit_entry;
+ GSettings *settings;
};
-
typedef struct _charpick_button_cb_data charpick_button_cb_data;
/* This is the data type for the button callback function. */
@@ -43,24 +42,23 @@ struct _charpick_button_cb_data {
charpick_data * p_curr_data;
};
-
-void start_callback_update(void);
+void start_callback_update (void);
void register_stock_for_edit (void);
-void build_table (charpick_data *curr_data);
+void build_table (charpick_data *curr_data);
void add_to_popup_menu (charpick_data *curr_data);
void populate_menu (charpick_data *curr_data);
void save_chartable (charpick_data *curr_data);
-void show_preferences_dialog (GtkAction *action,
- charpick_data *curr_data);
+void show_preferences_dialog (GtkAction *action,
+ charpick_data *curr_data);
-void add_edit_dialog_create (charpick_data *curr_data,
- gchar *string,
- gchar *title);
+void add_edit_dialog_create (charpick_data *curr_data,
+ gchar *string,
+ gchar *title);
void set_atk_name_description (GtkWidget *widget,
- const char *name,
- const char *description);
-gboolean key_writable (MatePanelApplet *applet, const char *key);
-
+ const char *name,
+ const char *description);
+gboolean key_writable (MatePanelApplet *applet,
+ const char *key);
#endif /* __CHARPICK_H__ */