diff options
author | Benjamin Berg <bberg@redhat.com> | 2019-02-20 17:46:48 +0100 |
---|---|---|
committer | Benjamin Berg <bberg@redhat.com> | 2019-03-22 13:20:22 +0100 |
commit | 63da64ed6f76ed6c46922b0585bea1f6ef080b28 (patch) | |
tree | 610db63c3c4fb9c088e2e6af5947abbfc0b2a23c | |
parent | 834c9d9c041dd11df7ae1c6eeb2786a3641ad88d (diff) | |
download | gnome-settings-daemon-63da64ed6f76ed6c46922b0585bea1f6ef080b28.tar.gz |
print-notifications: Drop invalid const qualifier from string
The string is dynamically allocated, it shouldn't have a const
specifier.
-rw-r--r-- | plugins/print-notifications/gsd-print-notifications-manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/print-notifications/gsd-print-notifications-manager.c b/plugins/print-notifications/gsd-print-notifications-manager.c index f8dc77f8..53aaccff 100644 --- a/plugins/print-notifications/gsd-print-notifications-manager.c +++ b/plugins/print-notifications/gsd-print-notifications-manager.c @@ -1071,7 +1071,7 @@ process_new_notifications (gpointer user_data) const gchar *printer_name = NULL; const gchar *notify_text = NULL; const gchar *notify_printer_uri = NULL; - const gchar *job_state_reasons = NULL; + gchar *job_state_reasons = NULL; const gchar *job_name = NULL; const char *attr_name; gboolean printer_is_accepting_jobs = FALSE; |