[Spice-devel] [PATCHv2 07/22] session: rename migration_copy/for_migration

Marc-André Lureau marcandre.lureau at redhat.com
Wed Nov 26 09:55:58 PST 2014


---
 gtk/channel-main.c       | 2 +-
 gtk/spice-session-priv.h | 2 +-
 gtk/spice-session.c      | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/gtk/channel-main.c b/gtk/channel-main.c
index 6d06ee3..490d21c 100644
--- a/gtk/channel-main.c
+++ b/gtk/channel-main.c
@@ -2073,7 +2073,7 @@ static gboolean migrate_connect(gpointer data)
     g_return_val_if_fail(c != NULL, FALSE);
     g_return_val_if_fail(mig->session != NULL, FALSE);
 
-    mig->session->priv->migration_copy = true;
+    mig->session->priv->for_migration = true;
     spice_session_set_migration_state(mig->session, SPICE_SESSION_MIGRATION_CONNECTING);
 
     if ((c->peer_hdr.major_version == 1) &&
diff --git a/gtk/spice-session-priv.h b/gtk/spice-session-priv.h
index 55e2ed2..6d8be8d 100644
--- a/gtk/spice-session-priv.h
+++ b/gtk/spice-session-priv.h
@@ -100,7 +100,7 @@ struct _SpiceSessionPrivate {
     gboolean          disconnecting;
     gboolean          migrate_wait_init;
     guint             after_main_init;
-    gboolean          migration_copy;
+    gboolean          for_migration;
 
     display_cache     *images;
     display_cache     *palettes;
diff --git a/gtk/spice-session.c b/gtk/spice-session.c
index 9a043b6..d1e1599 100644
--- a/gtk/spice-session.c
+++ b/gtk/spice-session.c
@@ -2360,5 +2360,5 @@ gboolean spice_session_is_for_migration(SpiceSession *session)
 {
     g_return_val_if_fail(SPICE_IS_SESSION(session), FALSE);
 
-    return session->priv->migration_copy;
+    return session->priv->for_migration;
 }
-- 
2.1.0



More information about the Spice-devel mailing list