[Xfce4-commits] <midori:master> Don't declare command in callback as UniqueCommand

Christian Dywan noreply at xfce.org
Thu Oct 14 21:18:07 CEST 2010


Updating branch refs/heads/master
         to ca2582c5e3d402db960b688f5c287efa5e6e7293 (commit)
       from 5d7bbe6eb16835a04e4bffb60f40cee8b7427f08 (commit)

commit ca2582c5e3d402db960b688f5c287efa5e6e7293
Author: Christian Dywan <christian at twotoasts.de>
Date:   Thu Oct 14 21:11:01 2010 +0200

    Don't declare command in callback as UniqueCommand
    
    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 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/midori/midori-app.c b/midori/midori-app.c
index 9dddad6..14f10ca 100644
--- a/midori/midori-app.c
+++ b/midori/midori-app.c
@@ -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)



More information about the Xfce4-commits mailing list