Updating branch refs/heads/master
         to ea009b3257ff46c650a0b332fab3c34ffc4e6f80 (commit)
       from a5bbbe965f8e6893bd43da20cf1670a05073f6b1 (commit)

commit ea009b3257ff46c650a0b332fab3c34ffc4e6f80
Author: Peter de Ridder <[email protected]>
Date:   Sun Jul 17 21:26:10 2011 +0200

    Fixed invalid usage of g_quark_from_static_string. Bug #6322
    
    g_quark_from_static_string can't be used in dynamic libraries like
    Thunar plugins. g_quark_from_string should be use instead.

 thunar-vcs-plugin/tvp-git-action.c |    2 +-
 thunar-vcs-plugin/tvp-svn-action.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/thunar-vcs-plugin/tvp-git-action.c 
b/thunar-vcs-plugin/tvp-git-action.c
index c5a6de1..422c973 100644
--- a/thunar-vcs-plugin/tvp-git-action.c
+++ b/thunar-vcs-plugin/tvp-git-action.c
@@ -128,7 +128,7 @@ tvp_git_action_class_init (TvpGitActionClass *klass)
     action_signal[SIGNAL_NEW_PROCESS] = g_signal_new("new-process", 
G_OBJECT_CLASS_TYPE(gobject_class), G_SIGNAL_RUN_FIRST,
             0, NULL, NULL, tsh_cclosure_marshal_VOID__POINTER_STRING, 
G_TYPE_NONE, 2, G_TYPE_POINTER, G_TYPE_STRING);
 
-    tvp_action_arg_quark = g_quark_from_static_string ("tvp-action-arg");
+    tvp_action_arg_quark = g_quark_from_string ("tvp-action-arg");
 }
 
 
diff --git a/thunar-vcs-plugin/tvp-svn-action.c 
b/thunar-vcs-plugin/tvp-svn-action.c
index e54e563..b42840f 100644
--- a/thunar-vcs-plugin/tvp-svn-action.c
+++ b/thunar-vcs-plugin/tvp-svn-action.c
@@ -143,7 +143,7 @@ tvp_svn_action_class_init (TvpSvnActionClass *klass)
   action_signal[SIGNAL_NEW_PROCESS] = g_signal_new("new-process", 
G_OBJECT_CLASS_TYPE(gobject_class), G_SIGNAL_RUN_FIRST,
     0, NULL, NULL, tsh_cclosure_marshal_VOID__POINTER_STRING, G_TYPE_NONE, 2, 
G_TYPE_POINTER, G_TYPE_STRING);
 
-  tvp_action_arg_quark = g_quark_from_static_string ("tvp-action-arg");
+  tvp_action_arg_quark = g_quark_from_string ("tvp-action-arg");
 }
 
 
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to