aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/gui_utils.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2015-02-15 13:58:39 -0500
committerBill Meier <wmeier@newsguy.com>2015-02-15 19:02:30 +0000
commitbfde04b845485c5ebf0a9bed15392cf9f0c47374 (patch)
tree7a5ef55dbc0bf4163aa1eacc9c3964ea46b58f8b /ui/gtk/gui_utils.c
parent7229c54ae95c7cb6bf0637a1eb21ceeed53dc28d (diff)
ui/gtk/*.c: Add editor modelines; As needed: Fix indentation
Change-Id: I8cd9d9fe5f12c284f46b8f725766f681faccd753 Reviewed-on: https://code.wireshark.org/review/7138 Reviewed-by: Bill Meier <wmeier@newsguy.com>
Diffstat (limited to 'ui/gtk/gui_utils.c')
-rw-r--r--ui/gtk/gui_utils.c29
1 files changed, 21 insertions, 8 deletions
diff --git a/ui/gtk/gui_utils.c b/ui/gtk/gui_utils.c
index b30cc87246..e0b2a1f9e2 100644
--- a/ui/gtk/gui_utils.c
+++ b/ui/gtk/gui_utils.c
@@ -1076,11 +1076,11 @@ copy_binary_to_clipboard(const guint8 *data_p,
int len)
{
static GtkTargetEntry target_entry[] = {
- {(char *)"application/octet-stream", 0, 0}};
- /* XXX - this is not understood by most applications,
- * but can be pasted into the better hex editors - is
- * there something better that we can do?
- */
+ {(char *)"application/octet-stream", 0, 0}};
+ /* XXX - this is not understood by most applications,
+ * but can be pasted into the better hex editors - is
+ * there something better that we can do?
+ */
GtkClipboard *cb;
copy_binary_t *copy_data;
@@ -2023,11 +2023,24 @@ ws_gtk_grid_set_homogeneous(GtkGrid *grid, gboolean homogeneous)
void
gdk_cairo_set_source_rgba(cairo_t *cr, const GdkRGBA *rgba)
{
- GdkColor color;
+ GdkColor color;
- gdkRGBAcolor_to_GdkColor(&color, rgba);
+ gdkRGBAcolor_to_GdkColor(&color, rgba);
- gdk_cairo_set_source_color(cr, &color);
+ gdk_cairo_set_source_color(cr, &color);
}
#endif /* GTK_CHECK_VERSION(3,0,0) */
+
+/*
+ * Editor modelines - http://www.wireshark.org/tools/modelines.html
+ *
+ * Local variables:
+ * c-basic-offset: 4
+ * tab-width: 8
+ * indent-tabs-mode: nil
+ * End:
+ *
+ * vi: set shiftwidth=4 tabstop=8 expandtab:
+ * :indentSize=4:tabSize=8:noTabs=true:
+ */