Fix warning on newer version so mir 0.22 and newer

Signed-off-by: Andreas Pokorny <andreas.pokorny@canonical.com>
This commit is contained in:
Andreas Pokorny 2016-06-28 16:37:06 +02:00 committed by William Hua
parent bc4df6d4b3
commit 097ed2b40a
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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);
}
}