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



commit aed0a20ddf011b0fb677934bf3bfd6d82e8c7c2b
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]