[Xfce4-commits] <xfce4-panel:devel> * Disable deprecated pango code. * Disable some debug code.

Nick Schermer nick at xfce.org
Tue Aug 11 20:22:05 CEST 2009


Updating branch refs/heads/devel
         to 0981be42938106bfe3a9434da5e7dafff255e4de (commit)
       from cf347e250a175fcd8f21251420086447c37f817e (commit)

commit 0981be42938106bfe3a9434da5e7dafff255e4de
Author: Nick Schermer <nick at xfce.org>
Date:   Sun Jun 15 18:32:54 2008 +0200

    * Disable deprecated pango code.
    * Disable some debug code.

 configure.in.in       |    3 ++-
 panel/panel-window.c  |    2 +-
 plugins/clock/clock.c |    2 +-
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/configure.in.in b/configure.in.in
index 6b3dcbb..ab83630 100644
--- a/configure.in.in
+++ b/configure.in.in
@@ -126,10 +126,11 @@ GTK_DOC_CHECK([1.0])
 dnl *********************************************************
 dnl *** Disable deprecated components and single includes ***
 dnl *********************************************************
-PLATFORM_CPPFLAGS="$PLATFORM_CPPFLAGS -DXFCE_DISABLE_DEPRECATED -DPANGO_DISABLE_SINGLE_INCLUDES"
+PLATFORM_CPPFLAGS="$PLATFORM_CPPFLAGS -DXFCE_DISABLE_DEPRECATED"
 PLATFORM_CPPFLAGS="$PLATFORM_CPPFLAGS -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES"
 PLATFORM_CPPFLAGS="$PLATFORM_CPPFLAGS -DGTK_DISABLE_DEPRECATED -DGTK_DISABLE_SINGLE_INCLUDES"
 PLATFORM_CPPFLAGS="$PLATFORM_CPPFLAGS -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES"
+PLATFORM_CPPFLAGS="$PLATFORM_CPPFLAGS -DPANGO_DISABLE_DEPRECATED -DPANGO_DISABLE_SINGLE_INCLUDES"
 
 dnl ***********************************
 dnl *** Check for debugging support ***
diff --git a/panel/panel-window.c b/panel/panel-window.c
index 04cb7f7..31f22c8 100644
--- a/panel/panel-window.c
+++ b/panel/panel-window.c
@@ -1414,7 +1414,7 @@ panel_window_struts_update (PanelWindow *window,
       /* release the trap push */
       gdk_error_trap_pop ();
 
-#ifndef NDEBUG
+#if 0
       gint         n = -1;
       const gchar *names1[] = { "left", "right", "top", "bottom" };
       const gchar *names2[] = { "y",    "y",     "x",    "x" };
diff --git a/plugins/clock/clock.c b/plugins/clock/clock.c
index 6221bb2..8e57c38 100644
--- a/plugins/clock/clock.c
+++ b/plugins/clock/clock.c
@@ -735,7 +735,7 @@ xfce_panel_plugin_register_types (XfcePanelModule *panel_module)
   xfce_clock_digital_register_type (panel_module);
   xfce_clock_lcd_register_type (panel_module);
 
-  g_message ("Clock types registered");
+  //g_message ("Clock types registered");
 }
 
 



More information about the Xfce4-commits mailing list