]> spindle.queued.net Git - midori/commitdiff
Don't declare command in callback as UniqueCommand
authorChristian Dywan <christian@twotoasts.de>
Thu, 14 Oct 2010 19:11:01 +0000 (21:11 +0200)
committerChristian Dywan <christian@twotoasts.de>
Thu, 14 Oct 2010 19:11:01 +0000 (21:11 +0200)
Since we're using a custom command it is in fact not part of
the enumeration and thus some compilers complain.

midori/midori-app.c

index 9dddad6c1b28357a11b24ffe1611e0a34b55c859..14f10ca03756878f251af7b0b9c304b42e0d5fe0 100644 (file)
@@ -535,7 +535,7 @@ midori_app_osso_rpc_handler_cb (const gchar* interface,
 #elif HAVE_UNIQUE
 static UniqueResponse
 midori_browser_message_received_cb (UniqueApp*         instance,
-                                    UniqueCommand      command,
+                                    gint               command,
                                     UniqueMessageData* message,
                                     guint              timestamp,
                                     MidoriApp*         app)