aboutsummaryrefslogtreecommitdiffstats
path: root/ui/progress_dlg.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/progress_dlg.h
parent076784cdaee4721e4bce94824b5b92db9888d28a (diff)
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/progress_dlg.h')
-rw-r--r--ui/progress_dlg.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/ui/progress_dlg.h b/ui/progress_dlg.h
index 032fa7b51c..531784679e 100644
--- a/ui/progress_dlg.h
+++ b/ui/progress_dlg.h
@@ -55,7 +55,7 @@ typedef struct progdlg progdlg_t;
* set to TRUE if the user hits that button
* @return The newly created progress dialog
*/
-progdlg_t *create_progress_dlg(const gpointer top_level_window, const gchar *task_title, const gchar *item_title,
+progdlg_t *create_progress_dlg(gpointer top_level_window, const gchar *task_title, const gchar *item_title,
gboolean terminate_is_stop, gboolean *stop_flag);
/**
@@ -76,8 +76,7 @@ progdlg_t *create_progress_dlg(const gpointer top_level_window, const gchar *tas
* @param progress The current progress (0..1)
* @return The newly created progress dialog
*/
-progdlg_t *
-delayed_create_progress_dlg(const gpointer top_level_window, const gchar *task_title, const gchar *item_title,
+progdlg_t *delayed_create_progress_dlg(gpointer top_level_window, const gchar *task_title, const gchar *item_title,
gboolean terminate_is_stop, gboolean *stop_flag,
const GTimeVal *start_time, gfloat progress);