~svn/ubuntu/oneiric/subversion/ppa

« back to all changes in this revision

Viewing changes to debian/patches/no-dbus-spam

  • Committer: Max Bowsher
  • Date: 2009-11-17 02:32:08 UTC
  • mfrom: (0.3.3 sid)
  • Revision ID: maxb@f2s.com-20091117023208-j2aw4tkg14zh062t
Merge ancestry and replace file-ids from Debian 1.6.5dfsg-1, no change to content.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Suppress console spam from the gnome_keyring auth plugin.
 
2
Also committed upstream r38878 for svn 1.7.
 
3
 
 
4
--- a/subversion/libsvn_auth_gnome_keyring/gnome_keyring.c
 
5
+++ b/subversion/libsvn_auth_gnome_keyring/gnome_keyring.c
 
6
@@ -478,6 +478,12 @@
 
7
     }
 
8
 }
 
9
 
 
10
+static void log_noop(const gchar *log_domain, GLogLevelFlags log_level,
 
11
+                     const gchar *message, gpointer user_data)
 
12
+{
 
13
+  /* do nothing */
 
14
+}
 
15
+
 
16
 static void
 
17
 init_gnome_keyring(void)
 
18
 {
 
19
@@ -485,6 +491,7 @@
 
20
   application_name = g_get_application_name();
 
21
   if (!application_name)
 
22
     g_set_application_name("Subversion");
 
23
+  g_log_set_default_handler(log_noop, NULL);
 
24
 }
 
25
 
 
26
 static const svn_auth_provider_t gnome_keyring_simple_provider = {