[gnome-software] Trivial: rename a field



commit e9d0692b67506c7497b02fa0981a910c42b8e33e
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Oct 18 12:52:05 2013 -0400

    Trivial: rename a field
    
    We're about to introduce more monitors, so call this one
    what it is: update_monitor.

 src/gs-application.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gs-application.c b/src/gs-application.c
index 1a4b307..ef731c8 100644
--- a/src/gs-application.c
+++ b/src/gs-application.c
@@ -46,7 +46,7 @@ struct _GsApplication {
        GsPluginLoader  *plugin_loader;
        gint             pending_apps;
        GsShell         *shell;
-       GsUpdateMonitor *monitor;
+       GsUpdateMonitor *update_monitor;
        GsShellSearchProvider *search_provider;
 };
 
@@ -65,7 +65,7 @@ gs_application_init (GsApplication *application)
 static void
 gs_application_monitor_updates (GsApplication *app)
 {
-       app->monitor = gs_update_monitor_new (app);
+       app->update_monitor = gs_update_monitor_new (app);
 }
 
 static void
@@ -356,7 +356,7 @@ gs_application_finalize (GObject *object)
        g_clear_object (&app->cancellable);
        g_clear_object (&app->shell);
        g_clear_object (&app->provider);
-       g_clear_object (&app->monitor);
+       g_clear_object (&app->update_monitor);
        g_clear_object (&app->profile);
        g_clear_object (&app->search_provider);
 


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