[gtk+] Fix warning on newer version so mir 0.22 and newer



commit 097ed2b40a9654ec2c96b13276781f9411899493
Author: Andreas Pokorny <andreas pokorny canonical com>
Date:   Tue Jun 28 16:37:06 2016 +0200

    Fix warning on newer version so mir 0.22 and newer
    
    Signed-off-by: Andreas Pokorny <andreas pokorny canonical com>

 configure.ac           |    2 +-
 gdk/mir/gdkmirscreen.c |    2 ++
 2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 8019d92..a4051ec 100644
--- a/configure.ac
+++ b/configure.ac
@@ -61,7 +61,7 @@ m4_define([gdk_pixbuf_required_version], [2.30.0])
 m4_define([introspection_required_version], [1.39.0])
 m4_define([wayland_required_version], [1.9.91])
 m4_define([wayland_protocols_required_version], [1.5])
-m4_define([mirclient_required_version], [0.11.0])
+m4_define([mirclient_required_version], [0.22.0])
 m4_define([mircookie_required_version], [0.17.0])
 m4_define([epoxy_required_version], [1.0])
 GLIB_REQUIRED_VERSION=glib_required_version
diff --git a/gdk/mir/gdkmirscreen.c b/gdk/mir/gdkmirscreen.c
index 7aa0aa6..6ce1b15 100644
--- a/gdk/mir/gdkmirscreen.c
+++ b/gdk/mir/gdkmirscreen.c
@@ -352,6 +352,8 @@ gdk_mir_screen_get_monitor_plug_name (GdkScreen *screen,
             return g_strdup_printf ("TV-%u", output->output_id);
           case mir_display_output_type_edp:
             return g_strdup_printf ("eDP-%u", output->output_id);
+          case mir_display_output_type_virtual:
+            return g_strdup_printf ("Virtual-%u", output->output_id);
         }
     }
 


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