[gnome-settings-daemon/wip/benzea/cleanups-and-small-fixes: 29/47] print-notifications: Drop invalid const qualifier from string



commit 63da64ed6f76ed6c46922b0585bea1f6ef080b28
Author: Benjamin Berg <bberg redhat com>
Date:   Wed Feb 20 17:46:48 2019 +0100

    print-notifications: Drop invalid const qualifier from string
    
    The string is dynamically allocated, it shouldn't have a const
    specifier.

 plugins/print-notifications/gsd-print-notifications-manager.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
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;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]