diff --git a/panels/printers/pp-ppd-selection-dialog.c b/panels/printers/pp-ppd-selection-dialog.c index bfa92f483..6851fc65a 100644 --- a/panels/printers/pp-ppd-selection-dialog.c +++ b/panels/printers/pp-ppd-selection-dialog.c @@ -327,7 +327,7 @@ ppd_selection_dialog_response_cb (GtkDialog *dialog, PpPPDSelectionDialog * pp_ppd_selection_dialog_new (GtkWindow *parent, PPDList *ppd_list, - gchar *manufacturer, + const gchar *manufacturer, UserResponseCallback user_callback, gpointer user_data) { diff --git a/panels/printers/pp-ppd-selection-dialog.h b/panels/printers/pp-ppd-selection-dialog.h index 3a98ef9d5..d9217ef12 100644 --- a/panels/printers/pp-ppd-selection-dialog.h +++ b/panels/printers/pp-ppd-selection-dialog.h @@ -30,7 +30,7 @@ typedef struct _PpPPDSelectionDialog PpPPDSelectionDialog; PpPPDSelectionDialog *pp_ppd_selection_dialog_new (GtkWindow *parent, PPDList *ppd_list, - gchar *manufacturer, + const gchar *manufacturer, UserResponseCallback user_callback, gpointer user_data); gchar *pp_ppd_selection_dialog_get_ppd_name (PpPPDSelectionDialog *dialog); diff --git a/panels/printers/pp-utils.c b/panels/printers/pp-utils.c index c140e37e5..68eaa9871 100644 --- a/panels/printers/pp-utils.c +++ b/panels/printers/pp-utils.c @@ -2991,7 +2991,7 @@ ppd_list_free (PPDList *list) } gchar * -get_standard_manufacturers_name (gchar *name) +get_standard_manufacturers_name (const gchar *name) { gchar *normalized_name; gchar *result = NULL; diff --git a/panels/printers/pp-utils.h b/panels/printers/pp-utils.h index 97239845c..ac1c3b7de 100644 --- a/panels/printers/pp-utils.h +++ b/panels/printers/pp-utils.h @@ -213,7 +213,7 @@ IPPAttribute *ipp_attribute_copy (IPPAttribute *attr); void ipp_attribute_free (IPPAttribute *attr); -gchar *get_standard_manufacturers_name (gchar *name); +gchar *get_standard_manufacturers_name (const gchar *name); typedef void (*PGPCallback) (const gchar *ppd_filename, gpointer user_data);