aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/print_dlg.c
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2005-08-05 20:59:08 +0000
committerJörg Mayer <jmayer@loplof.de>2005-08-05 20:59:08 +0000
commit4e1f4b18abdec1658e835a77a9de8be87c965142 (patch)
tree0aeebf0f2c4ec7ea3813d2f0b9e10f3f77e851cd /gtk/print_dlg.c
parente6856b69f3ebf85a1a37cb7c7a508f2be41fb1fe (diff)
More char -> const char warning fixes.
Removed (very few) casts that only change the warning message but don't remove it (with gcc-4). svn path=/trunk/; revision=15227
Diffstat (limited to 'gtk/print_dlg.c')
-rw-r--r--gtk/print_dlg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/print_dlg.c b/gtk/print_dlg.c
index 390997d765..31c2395fe4 100644
--- a/gtk/print_dlg.c
+++ b/gtk/print_dlg.c
@@ -72,7 +72,7 @@ typedef enum {
*/
static GtkWidget *
-open_print_dialog(char *title, output_action_e action, print_args_t *args);
+open_print_dialog(const char *title, output_action_e action, print_args_t *args);
static void print_cmd_toggle_dest(GtkWidget *widget, gpointer data);
static void print_cmd_toggle_detail(GtkWidget *widget, gpointer data);
static void print_ok_cb(GtkWidget *ok_bt, gpointer parent_w);
@@ -388,7 +388,7 @@ print_browse_file_cb(GtkWidget *file_bt, GtkWidget *file_te)
/* Open the print dialog */
static GtkWidget *
-open_print_dialog(char *title, output_action_e action, print_args_t *args)
+open_print_dialog(const char *title, output_action_e action, print_args_t *args)
{
#if GTK_MAJOR_VERSION < 2
GtkAccelGroup *accel_group;