[Libreoffice-commits] .: vcl/generic vcl/unx

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Sep 6 07:32:12 PDT 2012


 vcl/generic/fontmanager/fontconfig.cxx |    8 ++++----
 vcl/unx/gtk/window/gtkframe.cxx        |   18 +++++++++---------
 2 files changed, 13 insertions(+), 13 deletions(-)

New commits:
commit e053f8cb0fc78bae274b74d7fed59d211e5c9f26
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Sep 6 15:27:49 2012 +0100

    these warnings are only debug informational really
    
    Change-Id: Ie3da4be7251302cb68bd80a65bf74e8bc1b2e5cd

diff --git a/vcl/generic/fontmanager/fontconfig.cxx b/vcl/generic/fontmanager/fontconfig.cxx
index 26a292c..b164adc 100644
--- a/vcl/generic/fontmanager/fontconfig.cxx
+++ b/vcl/generic/fontmanager/fontconfig.cxx
@@ -868,7 +868,7 @@ IMPL_LINK_NOARG(PrintFontManager, autoInstallFontLangSupport)
     DBusGConnection *session_connection = dbus_g_bus_get(DBUS_BUS_SESSION, &error);
     if (error != NULL)
     {
-        g_warning ("DBUS cannot connect : %s", error->message);
+        g_debug ("DBUS cannot connect : %s", error->message);
         g_error_free (error);
         return -1;
     }
@@ -880,7 +880,7 @@ IMPL_LINK_NOARG(PrintFontManager, autoInstallFontLangSupport)
                                        "org.freedesktop.PackageKit.Modify");
     if (proxy == NULL)
     {
-        g_warning("Could not get DBUS proxy: org.freedesktop.PackageKit");
+        g_debug("Could not get DBUS proxy: org.freedesktop.PackageKit");
         return -1;
     }
 
@@ -897,12 +897,12 @@ IMPL_LINK_NOARG(PrintFontManager, autoInstallFontLangSupport)
                  G_TYPE_INVALID);
     /* check the return value */
     if (!res)
-       g_warning("InstallFontconfigResources method failed");
+       g_debug("InstallFontconfigResources method failed");
 
     /* check the error value */
     if (error != NULL)
     {
-        g_warning("InstallFontconfigResources problem : %s", error->message);
+        g_debug("InstallFontconfigResources problem : %s", error->message);
         g_error_free(error);
     }
 
diff --git a/vcl/unx/gtk/window/gtkframe.cxx b/vcl/unx/gtk/window/gtkframe.cxx
index fdbc6de..c159858 100644
--- a/vcl/unx/gtk/window/gtkframe.cxx
+++ b/vcl/unx/gtk/window/gtkframe.cxx
@@ -2060,7 +2060,7 @@ dbus_inhibit_gsm (const gchar *appname,
         /* get the DBUS session connection */
         session_connection = dbus_g_bus_get (DBUS_BUS_SESSION, &error);
         if (error != NULL) {
-                g_warning ("DBUS cannot connect : %s", error->message);
+                g_debug ("DBUS cannot connect : %s", error->message);
                 g_error_free (error);
                 return -1;
         }
@@ -2071,7 +2071,7 @@ dbus_inhibit_gsm (const gchar *appname,
                                            GSM_DBUS_PATH,
                                            GSM_DBUS_INTERFACE);
         if (proxy == NULL) {
-                g_warning ("Could not get DBUS proxy: %s", GSM_DBUS_SERVICE);
+                g_debug ("Could not get DBUS proxy: %s", GSM_DBUS_SERVICE);
                 return -1;
         }
 
@@ -2088,12 +2088,12 @@ dbus_inhibit_gsm (const gchar *appname,
         /* check the return value */
         if (! res) {
                 cookie = -1;
-                g_warning ("Inhibit method failed");
+                g_debug ("Inhibit method failed");
         }
 
         /* check the error value */
         if (error != NULL) {
-                g_warning ("Inhibit problem : %s", error->message);
+                g_debug ("Inhibit problem : %s", error->message);
                 g_error_free (error);
                 cookie = -1;
         }
@@ -2111,14 +2111,14 @@ dbus_uninhibit_gsm (guint cookie)
         DBusGConnection *session_connection = NULL;
 
         if (cookie == guint(-1)) {
-                g_warning ("Invalid cookie");
+                g_debug ("Invalid cookie");
                 return;
         }
 
         /* get the DBUS session connection */
         session_connection = dbus_g_bus_get (DBUS_BUS_SESSION, &error);
         if (error) {
-                g_warning ("DBUS cannot connect : %s", error->message);
+                g_debug ("DBUS cannot connect : %s", error->message);
                 g_error_free (error);
                 return;
         }
@@ -2129,7 +2129,7 @@ dbus_uninhibit_gsm (guint cookie)
                                            GSM_DBUS_PATH,
                                            GSM_DBUS_INTERFACE);
         if (proxy == NULL) {
-                g_warning ("Could not get DBUS proxy: %s", GSM_DBUS_SERVICE);
+                g_debug ("Could not get DBUS proxy: %s", GSM_DBUS_SERVICE);
                 return;
         }
 
@@ -2142,12 +2142,12 @@ dbus_uninhibit_gsm (guint cookie)
 
         /* check the return value */
         if (! res) {
-                g_warning ("Uninhibit method failed");
+                g_debug ("Uninhibit method failed");
         }
 
         /* check the error value */
         if (error != NULL) {
-                g_warning ("Uninhibit problem : %s", error->message);
+                g_debug ("Uninhibit problem : %s", error->message);
                 g_error_free (error);
                 cookie = -1;
         }


More information about the Libreoffice-commits mailing list