mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-27 17:52:58 +02:00
GApplication: fix bogus testcase
We had a GApplication testcase that handled both open and commandline. This only way that this worked was by implementing the commandline handler without actually setting the HANDLES_COMMAND_LINE flag. This behaviour is now invalid, so just rip out the offending part of the test. https://bugzilla.gnome.org/show_bug.cgi?id=711099
This commit is contained in:
@@ -262,7 +262,8 @@ g_application_impl_method_call (GDBusConnection *connection,
|
||||
flags = g_application_get_flags (impl->app);
|
||||
if ((flags & G_APPLICATION_HANDLES_COMMAND_LINE) == 0)
|
||||
{
|
||||
g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_NOT_SUPPORTED, "Application does not handle command line arguments");
|
||||
g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_NOT_SUPPORTED,
|
||||
"Application does not handle command line arguments");
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user