[gnome-flashback] monitor-manager: rename gf_monitor_manager_on_hotplug



commit 04d43331df3daf9f6dec1739ff752f2c95176403
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Sun Jan 31 18:08:21 2021 +0200

    monitor-manager: rename gf_monitor_manager_on_hotplug

 backends/gf-monitor-manager-private.h | 3 ++-
 backends/gf-monitor-manager-xrandr.c  | 2 +-
 backends/gf-monitor-manager.c         | 4 ++--
 3 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/backends/gf-monitor-manager-private.h b/backends/gf-monitor-manager-private.h
index 1592e06..e3a48da 100644
--- a/backends/gf-monitor-manager-private.h
+++ b/backends/gf-monitor-manager-private.h
@@ -168,7 +168,8 @@ GfLogicalMonitor           *gf_monitor_manager_get_primary_logical_monitor  (GfM
 
 gboolean                    gf_monitor_manager_has_hotplug_mode_update      (GfMonitorManager            
*manager);
 void                        gf_monitor_manager_read_current_state           (GfMonitorManager            
*manager);
-void                        gf_monitor_manager_on_hotplug                   (GfMonitorManager            
*manager);
+
+void                        gf_monitor_manager_reconfigure                  (GfMonitorManager            
*self);
 
 gboolean                    gf_monitor_manager_get_monitor_matrix           (GfMonitorManager            
*manager,
                                                                              GfMonitor                   
*monitor,
diff --git a/backends/gf-monitor-manager-xrandr.c b/backends/gf-monitor-manager-xrandr.c
index 07e1fad..6aacd46 100644
--- a/backends/gf-monitor-manager-xrandr.c
+++ b/backends/gf-monitor-manager-xrandr.c
@@ -1176,7 +1176,7 @@ gf_monitor_manager_xrandr_handle_xevent (GfMonitorManagerXrandr *xrandr,
 
   if (resources->timestamp < resources->configTimestamp)
     {
-      gf_monitor_manager_on_hotplug (manager);
+      gf_monitor_manager_reconfigure (manager);
     }
   else
     {
diff --git a/backends/gf-monitor-manager.c b/backends/gf-monitor-manager.c
index a64d0ca..7ef020f 100644
--- a/backends/gf-monitor-manager.c
+++ b/backends/gf-monitor-manager.c
@@ -2413,9 +2413,9 @@ gf_monitor_manager_read_current_state (GfMonitorManager *manager)
 }
 
 void
-gf_monitor_manager_on_hotplug (GfMonitorManager *manager)
+gf_monitor_manager_reconfigure (GfMonitorManager *self)
 {
-  gf_monitor_manager_ensure_configured (manager);
+  gf_monitor_manager_ensure_configured (self);
 }
 
 gboolean


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