Include the gshell.h header file (to define g_shell_[un]quote) and correct
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 30 Apr 2007 11:30:47 +0000 (11:30 +0000)
committerChris Wilson <cpwilson@src.gnome.org>
Mon, 30 Apr 2007 11:30:47 +0000 (11:30 +0000)
2007-04-30  Chris Wilson  <chris@chris-wilson.co.uk>

    * glib/gbookmarkfile.c (g_bookmark_file_get_app_info):
    Include the gshell.h header file (to define g_shell_[un]quote)
    and correct the order of the arguments to g_propagate_error(), as
    spotted by gcc.

svn path=/trunk/; revision=5467

ChangeLog
glib/gbookmarkfile.c

index 2dc77f1..d4e32e7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2007-04-30  Chris Wilson  <chris@chris-wilson.co.uk>
+
+       * glib/gbookmarkfile.c (g_bookmark_file_get_app_info):
+       Include the gshell.h header file (to define g_shell_[un]quote)
+       and correct the order of the arguments to g_propagate_error(), as
+       spotted by gcc.
+
 2007-04-29  Emmanuele Bassi  <ebassi@gnome.org>
 
        * glib/gbookmarkfile.c:
index 6f9f99b..de4a5e0 100644 (file)
@@ -47,6 +47,7 @@
 #include "gmarkup.h"
 #include "gmem.h"
 #include "gmessages.h"
+#include "gshell.h"
 #include "gslice.h"
 #include "gstdio.h"
 #include "gstring.h"
@@ -3391,7 +3392,7 @@ g_bookmark_file_get_app_info (GBookmarkFile  *bookmark,
       command_line = g_shell_unquote (ai->exec, &unquote_error);
       if (unquote_error)
         {
-          g_propagate_error (unquote_error, error);
+          g_propagate_error (error, unquote_error);
           return FALSE;
         }