summaryrefslogtreecommitdiff
path: root/ui/gtk/gui_utils.h
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2016-01-05 12:06:36 +0000
committerAnders Broman <a.broman58@gmail.com>2016-02-16 05:10:49 +0000
commit95dee44a77c8779776ce602b09fb33c703c4a32e (patch)
treea51cf7022e234111608facbe550b9795c96696e9 /ui/gtk/gui_utils.h
parent076784cdaee4721e4bce94824b5b92db9888d28a (diff)
downloadwireshark-95dee44a77c8779776ce602b09fb33c703c4a32e.tar.gz
const gpointer -> gconstpointer
'const gpointer' is the same as 'void *const'. Replace with gconstpointer where straightforward (assuming that was the intent) and use gpointer everywhere else for clarity (that does not change *API* constness contract; it just means a variable is not declared immutable inside the called funtion). Change-Id: Iad2ef13205bfb4ff0056b2bce056353b58942267 Reviewed-on: https://code.wireshark.org/review/13945 Petri-Dish: Anders Broman <a.broman58@gmail.com> Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui/gtk/gui_utils.h')
-rw-r--r--ui/gtk/gui_utils.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/gtk/gui_utils.h b/ui/gtk/gui_utils.h
index e982752841..0409667411 100644
--- a/ui/gtk/gui_utils.h
+++ b/ui/gtk/gui_utils.h
@@ -474,8 +474,8 @@ GtkTreeIter
ws_combo_box_append_text_and_pointer_full(GtkComboBox *combo_box,
GtkTreeIter *parent_iter,
const gchar *text,
- const gpointer ptr,
- const gboolean sensitive);
+ gconstpointer ptr,
+ gboolean sensitive);
/**
* ws_combo_box_append_text_and_pointer:
@@ -491,7 +491,7 @@ ws_combo_box_append_text_and_pointer_full(GtkComboBox *combo_box,
GtkTreeIter
ws_combo_box_append_text_and_pointer(GtkComboBox *combo_box,
const gchar *text,
- const gpointer ptr);
+ gconstpointer ptr);
/**
* ws_combo_box_get_active_pointer: