[gnome-settings-daemon] updates: Fix compile of aa4bb7c4a24c46b0d8c6779df5a6ff952e8fa8bd



commit 77ed05746e22d04194d68f7f9bf885be8b6d43ab
Author: Richard Hughes <richard hughsie com>
Date:   Wed Jan 2 10:28:39 2013 +0000

    updates: Fix compile of aa4bb7c4a24c46b0d8c6779df5a6ff952e8fa8bd
    
    My bad for not compile testing before committing, apologies.

 plugins/updates/gsd-updates-firmware.c |    8 ++++----
 plugins/updates/gsd-updates-manager.c  |   10 +++++-----
 2 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/plugins/updates/gsd-updates-firmware.c b/plugins/updates/gsd-updates-firmware.c
index 4809710..709140a 100644
--- a/plugins/updates/gsd-updates-firmware.c
+++ b/plugins/updates/gsd-updates-firmware.c
@@ -251,7 +251,7 @@ require_restart (GsdUpdatesFirmware *firmware)
 
         /* TRANSLATORS: title of libnotify bubble */
         notification = notify_notification_new (_("Additional software was installed"), message, NULL);
-        notify_notification_set_hint_string (n, "desktop-entry", "gpk-update-viewer");
+        notify_notification_set_hint_string (notification, "desktop-entry", "gpk-update-viewer");
         notify_notification_set_app_name (notification, _("Software Updates"));
         notify_notification_set_timeout (notification, NOTIFY_EXPIRES_NEVER);
         notify_notification_set_urgency (notification, NOTIFY_URGENCY_LOW);
@@ -279,7 +279,7 @@ require_replug (GsdUpdatesFirmware *firmware)
 
         /* TRANSLATORS: title of libnotify bubble */
         notification = notify_notification_new (_("Additional software was installed"), message, NULL);
-        notify_notification_set_hint_string (n, "desktop-entry", "gpk-update-viewer");
+        notify_notification_set_hint_string (notification, "desktop-entry", "gpk-update-viewer");
         notify_notification_set_app_name (notification, _("Software Updates"));
         notify_notification_set_timeout (notification, NOTIFY_EXPIRES_NEVER);
         notify_notification_set_urgency (notification, NOTIFY_URGENCY_LOW);
@@ -307,7 +307,7 @@ require_nothing (GsdUpdatesFirmware *firmware)
 
         /* TRANSLATORS: title of libnotify bubble */
         notification = notify_notification_new (_("Additional software was installed"), message, NULL);
-        notify_notification_set_hint_string (n, "desktop-entry", "gpk-update-viewer");
+        notify_notification_set_hint_string (notification, "desktop-entry", "gpk-update-viewer");
         notify_notification_set_app_name (notification, _("Software Updates"));
         notify_notification_set_timeout (notification, NOTIFY_EXPIRES_NEVER);
         notify_notification_set_urgency (notification, NOTIFY_URGENCY_LOW);
@@ -599,7 +599,7 @@ delay_timeout_cb (gpointer data)
 
         /* TRANSLATORS: title of libnotify bubble */
         notification = notify_notification_new (_("Additional firmware required"), string->str, NULL);
-        notify_notification_set_hint_string (n, "desktop-entry", "gpk-update-viewer");
+        notify_notification_set_hint_string (notification, "desktop-entry", "gpk-update-viewer");
         notify_notification_set_app_name (notification, _("Software Updates"));
         notify_notification_set_timeout (notification, NOTIFY_EXPIRES_NEVER);
         notify_notification_set_urgency (notification, NOTIFY_URGENCY_LOW);
diff --git a/plugins/updates/gsd-updates-manager.c b/plugins/updates/gsd-updates-manager.c
index d728c71..df2b6ba 100644
--- a/plugins/updates/gsd-updates-manager.c
+++ b/plugins/updates/gsd-updates-manager.c
@@ -339,7 +339,7 @@ get_distro_upgrades_finished_cb (GObject *object,
         notification = notify_notification_new (title,
                                                 string->str,
                                                 GSD_UPDATES_ICON_NORMAL);
-        notify_notification_set_hint_string (n, "desktop-entry", "gpk-update-viewer");
+        notify_notification_set_hint_string (notification, "desktop-entry", "gpk-update-viewer");
         notify_notification_set_app_name (notification, _("Software Updates"));
         notify_notification_set_timeout (notification, NOTIFY_EXPIRES_NEVER);
         notify_notification_set_urgency (notification, NOTIFY_URGENCY_NORMAL);
@@ -467,7 +467,7 @@ notify_critical_updates (GsdUpdatesManager *manager, GPtrArray *array)
         notification = notify_notification_new (title,
                                                 message,
                                                 GSD_UPDATES_ICON_URGENT);
-        notify_notification_set_hint_string (n, "desktop-entry", "gpk-update-viewer");
+        notify_notification_set_hint_string (notification, "desktop-entry", "gpk-update-viewer");
         notify_notification_set_app_name (notification, _("Software Updates"));
         notify_notification_set_timeout (notification, 15000);
         notify_notification_set_urgency (notification, NOTIFY_URGENCY_CRITICAL);
@@ -529,7 +529,7 @@ notify_normal_updates_maybe (GsdUpdatesManager *manager, GPtrArray *array)
         notification = notify_notification_new (title,
                                                 message,
                                                 GSD_UPDATES_ICON_NORMAL);
-        notify_notification_set_hint_string (n, "desktop-entry", "gpk-update-viewer");
+        notify_notification_set_hint_string (notification, "desktop-entry", "gpk-update-viewer");
         notify_notification_set_app_name (notification, _("Software Updates"));
         notify_notification_set_timeout (notification, 15000);
         notify_notification_set_urgency (notification, NOTIFY_URGENCY_NORMAL);
@@ -583,7 +583,7 @@ notify_failed_get_updates_maybe (GsdUpdatesManager *manager)
         notification = notify_notification_new (title,
                                                 message,
                                                 GSD_UPDATES_ICON_NORMAL);
-        notify_notification_set_hint_string (n, "desktop-entry", "gpk-update-viewer");
+        notify_notification_set_hint_string (notification, "desktop-entry", "gpk-update-viewer");
         notify_notification_set_app_name (notification, _("Software Updates"));
         notify_notification_set_timeout (notification, 120*1000);
         notify_notification_set_urgency (notification, NOTIFY_URGENCY_NORMAL);
@@ -1216,7 +1216,7 @@ check_offline_update_cb (gpointer user_data)
         notification = notify_notification_new (title,
                                                 message,
                                                 GSD_UPDATES_ICON_URGENT);
-        notify_notification_set_hint_string (n, "desktop-entry", "gpk-update-viewer");
+        notify_notification_set_hint_string (notification, "desktop-entry", "gpk-update-viewer");
         notify_notification_set_app_name (notification, _("Software Updates"));
         notify_notification_set_timeout (notification, -1);
         notify_notification_set_urgency (notification, NOTIFY_URGENCY_NORMAL);



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