aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2012-10-24 15:52:45 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2012-10-24 15:52:45 +0000
commitf7c19facb763c24d16d1eeb00373dd193e03020c (patch)
tree83d39f5ae6a7eb52a1fea438978d683a09528084
parent7b3055b74bfdec807e1c134b562ed84f02916932 (diff)
Add Modelines info for new common ui source file(s)
svn path=/trunk/; revision=45767
-rw-r--r--ui/capture_globals.h13
-rw-r--r--ui/iface_lists.c13
-rw-r--r--ui/iface_lists.h13
-rw-r--r--ui/last_open_dir.h15
-rw-r--r--ui/progress_dlg.h13
-rw-r--r--ui/recent.h13
-rw-r--r--ui/recent_utils.h13
-rw-r--r--ui/simple_dialog.h15
-rw-r--r--ui/text_import_scanner.h13
-rw-r--r--ui/ui_util.h13
10 files changed, 132 insertions, 2 deletions
diff --git a/ui/capture_globals.h b/ui/capture_globals.h
index 1da90d22b6..2bf0eeaa66 100644
--- a/ui/capture_globals.h
+++ b/ui/capture_globals.h
@@ -36,3 +36,16 @@ extern capture_options global_capture_opts;
#endif /* __cplusplus */
#endif /* __CAPTURE_GLOBALS_H__ */
+
+/*
+ * Editor modelines
+ *
+ * Local Variables:
+ * c-basic-offset: 4
+ * tab-width: 8
+ * indent-tabs-mode: nil
+ * End:
+ *
+ * ex: set shiftwidth=4 tabstop=8 expandtab:
+ * :indentSize=4:tabSize=8:noTabs=true:
+ */
diff --git a/ui/iface_lists.c b/ui/iface_lists.c
index f9bcb92ddc..bb147c98f8 100644
--- a/ui/iface_lists.c
+++ b/ui/iface_lists.c
@@ -359,3 +359,16 @@ hide_interface(gchar* new_hide)
}
}
#endif /* HAVE_LIBPCAP */
+
+/*
+ * Editor modelines
+ *
+ * Local Variables:
+ * c-basic-offset: 4
+ * tab-width: 8
+ * indent-tabs-mode: nil
+ * End:
+ *
+ * ex: set shiftwidth=4 tabstop=8 expandtab:
+ * :indentSize=4:tabSize=8:noTabs=true:
+ */
diff --git a/ui/iface_lists.h b/ui/iface_lists.h
index e9287b821c..8cc4888783 100644
--- a/ui/iface_lists.h
+++ b/ui/iface_lists.h
@@ -56,3 +56,16 @@ extern void hide_interface(gchar* new_hide);
#endif /* __cplusplus */
#endif /* __IFACE_LISTS_H__ */
+
+/*
+ * Editor modelines
+ *
+ * Local Variables:
+ * c-basic-offset: 4
+ * tab-width: 8
+ * indent-tabs-mode: nil
+ * End:
+ *
+ * ex: set shiftwidth=4 tabstop=8 expandtab:
+ * :indentSize=4:tabSize=8:noTabs=true:
+ */
diff --git a/ui/last_open_dir.h b/ui/last_open_dir.h
index d484c218ae..beb7415624 100644
--- a/ui/last_open_dir.h
+++ b/ui/last_open_dir.h
@@ -1,4 +1,4 @@
-/* ui_last_open_dir.h
+/* last_open_dir.h
* Routines to fetch the last directory in which a file was opened;
* its implementation is GUI-dependent, but the API isn't
*
@@ -41,3 +41,16 @@ extern char *get_last_open_dir(void);
#endif /* __cplusplus */
#endif /* __UI_LAST_OPEN_DIR_H__ */
+
+/*
+ * Editor modelines
+ *
+ * Local Variables:
+ * c-basic-offset: 4
+ * tab-width: 8
+ * indent-tabs-mode: nil
+ * End:
+ *
+ * ex: set shiftwidth=4 tabstop=8 expandtab:
+ * :indentSize=4:tabSize=8:noTabs=true:
+ */
diff --git a/ui/progress_dlg.h b/ui/progress_dlg.h
index 4531ade197..2222dd606c 100644
--- a/ui/progress_dlg.h
+++ b/ui/progress_dlg.h
@@ -104,3 +104,16 @@ void destroy_progress_dlg(progdlg_t *dlg);
#endif /* __cplusplus */
#endif /* __PROGRESS_DLG_H__ */
+
+/*
+ * Editor modelines
+ *
+ * Local Variables:
+ * c-basic-offset: 4
+ * tab-width: 8
+ * indent-tabs-mode: nil
+ * End:
+ *
+ * ex: set shiftwidth=4 tabstop=8 expandtab:
+ * :indentSize=4:tabSize=8:noTabs=true:
+ */
diff --git a/ui/recent.h b/ui/recent.h
index db6d9fdbd1..dba023e395 100644
--- a/ui/recent.h
+++ b/ui/recent.h
@@ -186,3 +186,16 @@ extern void recent_set_column_xalign(gint col, gchar xalign);
#endif /* __cplusplus */
#endif /* recent.h */
+
+/*
+ * Editor modelines
+ *
+ * Local Variables:
+ * c-basic-offset: 4
+ * tab-width: 8
+ * indent-tabs-mode: nil
+ * End:
+ *
+ * ex: set shiftwidth=4 tabstop=8 expandtab:
+ * :indentSize=4:tabSize=8:noTabs=true:
+ */
diff --git a/ui/recent_utils.h b/ui/recent_utils.h
index 2351f23c39..7d0b3f4d5b 100644
--- a/ui/recent_utils.h
+++ b/ui/recent_utils.h
@@ -108,3 +108,16 @@ extern void packet_list_recent_write_all(FILE *rf);
#endif /* __cplusplus */
#endif /* __UI_RECENT_UTILS_H__ */
+
+/*
+ * Editor modelines
+ *
+ * Local Variables:
+ * c-basic-offset: 4
+ * tab-width: 8
+ * indent-tabs-mode: nil
+ * End:
+ *
+ * ex: set shiftwidth=4 tabstop=8 expandtab:
+ * :indentSize=4:tabSize=8:noTabs=true:
+ */
diff --git a/ui/simple_dialog.h b/ui/simple_dialog.h
index 8e68912e6c..2445c09804 100644
--- a/ui/simple_dialog.h
+++ b/ui/simple_dialog.h
@@ -169,7 +169,7 @@ extern void simple_message_box(ESD_TYPE_E type, gboolean *notagain,
const char *secondary_msg,
const char *msg_format, ...)
#if __GNUC__ >= 2
- __attribute__((format(printf, 4, 5)))
+ __attribute__((format(printf, 4, 5)))
#endif
;
@@ -188,3 +188,16 @@ extern void simple_error_message_box(const char *msg_format, ...);
#endif /* __cplusplus */
#endif /* __DIALOG_H__ */
+
+/*
+ * Editor modelines
+ *
+ * Local Variables:
+ * c-basic-offset: 4
+ * tab-width: 8
+ * indent-tabs-mode: nil
+ * End:
+ *
+ * ex: set shiftwidth=4 tabstop=8 expandtab:
+ * :indentSize=4:tabSize=8:noTabs=true:
+ */
diff --git a/ui/text_import_scanner.h b/ui/text_import_scanner.h
index 5bd9c1e5cb..9e337910eb 100644
--- a/ui/text_import_scanner.h
+++ b/ui/text_import_scanner.h
@@ -56,3 +56,16 @@ int text_importlex(void);
#endif /* __cplusplus */
#endif /* __TEXT_IMPORT_SCANNER_H__ */
+
+/*
+ * Editor modelines
+ *
+ * Local Variables:
+ * c-basic-offset: 4
+ * tab-width: 8
+ * indent-tabs-mode: nil
+ * End:
+ *
+ * ex: set shiftwidth=4 tabstop=8 expandtab:
+ * :indentSize=4:tabSize=8:noTabs=true:
+ */
diff --git a/ui/ui_util.h b/ui/ui_util.h
index 3d1cd7f656..d5449bdd92 100644
--- a/ui/ui_util.h
+++ b/ui/ui_util.h
@@ -86,3 +86,16 @@ void packet_list_resize_column(gint col);
#endif /* __cplusplus */
#endif /* __UI_UTIL_H__ */
+
+/*
+ * Editor modelines
+ *
+ * Local Variables:
+ * c-basic-offset: 4
+ * tab-width: 8
+ * indent-tabs-mode: nil
+ * End:
+ *
+ * ex: set shiftwidth=4 tabstop=8 expandtab:
+ * :indentSize=4:tabSize=8:noTabs=true:
+ */