printers: Use const for manufacturer string
This commit is contained in:
parent
0cdc458752
commit
09465579b7
4 changed files with 4 additions and 4 deletions
|
@ -327,7 +327,7 @@ ppd_selection_dialog_response_cb (GtkDialog *dialog,
|
||||||
PpPPDSelectionDialog *
|
PpPPDSelectionDialog *
|
||||||
pp_ppd_selection_dialog_new (GtkWindow *parent,
|
pp_ppd_selection_dialog_new (GtkWindow *parent,
|
||||||
PPDList *ppd_list,
|
PPDList *ppd_list,
|
||||||
gchar *manufacturer,
|
const gchar *manufacturer,
|
||||||
UserResponseCallback user_callback,
|
UserResponseCallback user_callback,
|
||||||
gpointer user_data)
|
gpointer user_data)
|
||||||
{
|
{
|
||||||
|
|
|
@ -30,7 +30,7 @@ typedef struct _PpPPDSelectionDialog PpPPDSelectionDialog;
|
||||||
|
|
||||||
PpPPDSelectionDialog *pp_ppd_selection_dialog_new (GtkWindow *parent,
|
PpPPDSelectionDialog *pp_ppd_selection_dialog_new (GtkWindow *parent,
|
||||||
PPDList *ppd_list,
|
PPDList *ppd_list,
|
||||||
gchar *manufacturer,
|
const gchar *manufacturer,
|
||||||
UserResponseCallback user_callback,
|
UserResponseCallback user_callback,
|
||||||
gpointer user_data);
|
gpointer user_data);
|
||||||
gchar *pp_ppd_selection_dialog_get_ppd_name (PpPPDSelectionDialog *dialog);
|
gchar *pp_ppd_selection_dialog_get_ppd_name (PpPPDSelectionDialog *dialog);
|
||||||
|
|
|
@ -2991,7 +2991,7 @@ ppd_list_free (PPDList *list)
|
||||||
}
|
}
|
||||||
|
|
||||||
gchar *
|
gchar *
|
||||||
get_standard_manufacturers_name (gchar *name)
|
get_standard_manufacturers_name (const gchar *name)
|
||||||
{
|
{
|
||||||
gchar *normalized_name;
|
gchar *normalized_name;
|
||||||
gchar *result = NULL;
|
gchar *result = NULL;
|
||||||
|
|
|
@ -213,7 +213,7 @@ IPPAttribute *ipp_attribute_copy (IPPAttribute *attr);
|
||||||
|
|
||||||
void ipp_attribute_free (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,
|
typedef void (*PGPCallback) (const gchar *ppd_filename,
|
||||||
gpointer user_data);
|
gpointer user_data);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue