]> www.fi.muni.cz Git - evince.git/commitdiff
Fix typo
authorCarlos Garcia Campos <carlosgc@gnome.org>
Sat, 30 Apr 2011 11:41:40 +0000 (13:41 +0200)
committerCarlos Garcia Campos <carlosgc@gnome.org>
Sat, 30 Apr 2011 11:41:40 +0000 (13:41 +0200)
shell/ev-application.c

index bf828a61d51887df2ffcc5c389b213ac658504a3..caa943b855d78d8f2373c2ed008239e965df8659 100644 (file)
@@ -778,7 +778,7 @@ method_call_cb (GDBusConnection       *connection,
                while (g_variant_iter_loop (iter, "{&sv}", &key, &value)) {
                        if (strcmp (key, "display") == 0 && g_variant_classify (value) == G_VARIANT_CLASS_STRING) {
                                display = ev_display_open_if_needed (g_variant_get_string (value, NULL));
-                       } else if (strcmp (key, "screen") == 0 && g_variant_classify (value) == G_VARIANT_CLASS_STRING) {
+                       } else if (strcmp (key, "screen") == 0 && g_variant_classify (value) == G_VARIANT_CLASS_INT32) {
                                screen_number = g_variant_get_int32 (value);
                        } else if (strcmp (key, "mode") == 0 && g_variant_classify (value) == G_VARIANT_CLASS_UINT32) {
                        mode = g_variant_get_uint32 (value);