[PATCH v2 3/9] Rename display_channel_set_monitors_config_to_primary()

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

 



Since this function is a DisplayChannel method, use a name consistent
with naming conventions.

Acked-by: Pavel Grunt <pgrunt@xxxxxxxxxx>
---
no changes

 server/display-channel.c | 2 +-
 server/display-channel.h | 2 +-
 server/red-worker.c      | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/server/display-channel.c b/server/display-channel.c
index d193925..000bb8c 100644
--- a/server/display-channel.c
+++ b/server/display-channel.c
@@ -2080,7 +2080,7 @@ void display_channel_update_monitors_config(DisplayChannel *display,
         monitors_config_new(config->heads, count, max_allowed);
 }
 
-void set_monitors_config_to_primary(DisplayChannel *display)
+void display_channel_set_monitors_config_to_primary(DisplayChannel *display)
 {
     DrawContext *context = &display->priv->surfaces[0].context;
     QXLHead head = { 0, };
diff --git a/server/display-channel.h b/server/display-channel.h
index 561dc46..f559a10 100644
--- a/server/display-channel.h
+++ b/server/display-channel.h
@@ -302,7 +302,7 @@ void                       display_channel_gl_draw_done              (DisplayCha
 
 void display_channel_update_monitors_config(DisplayChannel *display, QXLMonitorsConfig *config,
                                             uint16_t count, uint16_t max_allowed);
-void set_monitors_config_to_primary(DisplayChannel *display);
+void display_channel_set_monitors_config_to_primary(DisplayChannel *display);
 
 gboolean display_channel_validate_surface(DisplayChannel *display, uint32_t surface_id);
 void display_channel_reset_image_cache(DisplayChannel *self);
diff --git a/server/red-worker.c b/server/red-worker.c
index 92ab59c..3ce43b7 100644
--- a/server/red-worker.c
+++ b/server/red-worker.c
@@ -634,7 +634,7 @@ static void dev_create_primary_surface(RedWorker *worker, uint32_t surface_id,
 
     display_channel_create_surface(display, 0, surface.width, surface.height, surface.stride, surface.format,
                                    line_0, surface.flags & QXL_SURF_FLAG_KEEP_DATA, TRUE);
-    set_monitors_config_to_primary(display);
+    display_channel_set_monitors_config_to_primary(display);
 
     if (display_is_connected(worker) && !worker->display_channel->common.during_target_migrate) {
         /* guest created primary, so it will (hopefully) send a monitors_config
-- 
2.7.4

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]