[gnome-settings-daemon/wip/benzea/keybindings-grabbing-rework: 23/44] print-notifications: Drop invalid const qualifier from string



commit 6bf3474df4a4ad9ba345c2aab1ff053cbf105f8a
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]