diff options
author | Bill Meier <wmeier@newsguy.com> | 2014-10-06 14:03:47 -0400 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2014-10-06 18:29:40 +0000 |
commit | 5051ae1cbe00fb57dd94d584554f731a83f932f6 (patch) | |
tree | fe40148d27b997b0b1a53a2e2eb8302537d2b388 /ui/gtk/extcap_gtk.h | |
parent | 24d50bc2904c265f9f89b3df25c9e41f309a29bb (diff) | |
download | wireshark-5051ae1cbe00fb57dd94d584554f731a83f932f6.tar.gz |
Convert "4 space tabs" to spaces; Adjust editor modelines.
Change-Id: I8d61d959c79e6aa9875c58680c54a331d18079cc
Reviewed-on: https://code.wireshark.org/review/4504
Reviewed-by: Bill Meier <wmeier@newsguy.com>
Diffstat (limited to 'ui/gtk/extcap_gtk.h')
-rw-r--r-- | ui/gtk/extcap_gtk.h | 69 |
1 files changed, 35 insertions, 34 deletions
diff --git a/ui/gtk/extcap_gtk.h b/ui/gtk/extcap_gtk.h index eb49c545f7..614a76c787 100644 --- a/ui/gtk/extcap_gtk.h +++ b/ui/gtk/extcap_gtk.h @@ -34,66 +34,66 @@ * GObject data keys for linking argument records to the gtk * UI */ -#define EXTCAP_GTK_DATA_KEY_ARGPTR "EXTCAP_ARGPTR" -#define EXTCAP_GTK_DATA_KEY_VALPTR "EXTCAP_VALPTR" -#define EXTCAP_GTK_DATA_KEY_FIRSTRADIO "EXTCAP_FIRSTRADIO" -#define EXTCAP_GTK_DATA_KEY_WIDGETLIST "EXTCAP_WIDGETLIST" -#define EXTCAP_GTK_DATA_KEY_TREEVIEW "EXTCAP_TREEVIEW" -#define EXTCAP_GTK_DATA_KEY_FILENAME "EXTCAP_FILENAME" -#define EXTCAP_GTK_DATA_KEY_ARGUMENT "EXTCAP_ARGUMENT" +#define EXTCAP_GTK_DATA_KEY_ARGPTR "EXTCAP_ARGPTR" +#define EXTCAP_GTK_DATA_KEY_VALPTR "EXTCAP_VALPTR" +#define EXTCAP_GTK_DATA_KEY_FIRSTRADIO "EXTCAP_FIRSTRADIO" +#define EXTCAP_GTK_DATA_KEY_WIDGETLIST "EXTCAP_WIDGETLIST" +#define EXTCAP_GTK_DATA_KEY_TREEVIEW "EXTCAP_TREEVIEW" +#define EXTCAP_GTK_DATA_KEY_FILENAME "EXTCAP_FILENAME" +#define EXTCAP_GTK_DATA_KEY_ARGUMENT "EXTCAP_ARGUMENT" /* * GTK UI / EXTCAP Linkage: * * Packed vbox of widgets - * Contains EXTCAP_WIDGETLIST pointing to enclosed widget list + * Contains EXTCAP_WIDGETLIST pointing to enclosed widget list * * GSList gtk_ui_widgets - * Linked list of drawable widgets in the UI + * Linked list of drawable widgets in the UI * * GtkWidget contained in GSList - * Drawn GTK UI element. If UI element is directly linked - * to argument, will contain EXTCAP_ARGPTR. + * Drawn GTK UI element. If UI element is directly linked + * to argument, will contain EXTCAP_ARGPTR. * - * Top-level GTK widgets will include text boxes, sliders - * (if supported), and checkboxes. + * Top-level GTK widgets will include text boxes, sliders + * (if supported), and checkboxes. * - * If the top level widget contains radio buttons, it will - * contain an EXTCAP_ARGPTR *and* an EXTCAP_FIRSTRADIO + * If the top level widget contains radio buttons, it will + * contain an EXTCAP_ARGPTR *and* an EXTCAP_FIRSTRADIO * * Radio buttons - * Each radio button will contain an EXTCAP_VALPTR reference - * to the extcap_value * value being used. + * Each radio button will contain an EXTCAP_VALPTR reference + * to the extcap_value * value being used. * * Selectors - * Each selector row contains a pointer to the value, in the - * column COL_VALUE + * Each selector row contains a pointer to the value, in the + * column COL_VALUE * */ enum extcap_gtk_col_types { - EXTCAP_GTK_COL_DISPLAY = 0, EXTCAP_GTK_COL_VALUE = 1, EXTCAP_GTK_NUM_COLS + EXTCAP_GTK_COL_DISPLAY = 0, EXTCAP_GTK_COL_VALUE = 1, EXTCAP_GTK_NUM_COLS }; enum extcap_gtk_multi_col_types { - EXTCAP_GTK_MULTI_COL_CHECK = 0, - EXTCAP_GTK_MULTI_COL_DISPLAY = 1, - EXTCAP_GTK_MULTI_COL_VALUE = 2, - EXTCAP_GTK_MULTI_COL_ACTIVATABLE = 3, - EXTCAP_GTK_MULTI_NUM_COLS + EXTCAP_GTK_MULTI_COL_CHECK = 0, + EXTCAP_GTK_MULTI_COL_DISPLAY = 1, + EXTCAP_GTK_MULTI_COL_VALUE = 2, + EXTCAP_GTK_MULTI_COL_ACTIVATABLE = 3, + EXTCAP_GTK_MULTI_NUM_COLS }; /* Get a hash map of calls and values from the top widget */ GHashTable *extcap_gtk_get_state(GtkWidget *widget); GtkWidget *extcap_create_gtk_rangewidget(extcap_arg *argument, - GHashTable *prev_map); + GHashTable *prev_map); GtkWidget *extcap_create_gtk_listwidget(extcap_arg *argument, - GHashTable *prev_map); + GHashTable *prev_map); GtkWidget *extcap_create_gtk_radiowidget(extcap_arg *argument, - GHashTable *prev_map); + GHashTable *prev_map); GtkWidget *extcap_create_gtk_multicheckwidget(extcap_arg *argument, - GHashTable *prev_map); + GHashTable *prev_map); /* * Populate a (pre-created) container widget based on an arguments record. @@ -102,7 +102,7 @@ GtkWidget *extcap_create_gtk_multicheckwidget(extcap_arg *argument, * repeatedly, for example */ GSList *extcap_populate_gtk_vbox(GList *arguments, GtkWidget *vbox, - GHashTable *prev_map); + GHashTable *prev_map); /* Free args associated with a GTK item */ void extcap_gtk_free_args(GtkWidget *vbox); @@ -114,10 +114,11 @@ void extcap_gtk_free_args(GtkWidget *vbox); * * Local variables: * c-basic-offset: 4 - * tab-width: 4 - * indent-tabs-mode: t + * tab-width: 8 + * indent-tabs-mode: nil * End: * - * vi: set shiftwidth=4 tabstop=4 noexpandtab: - * :indentSize=4:tabSize=4:noTabs=false: + * vi: set shiftwidth=4 tabstop=8 expandtab: + * :indentSize=4:tabSize=8:noTabs=true: */ + |