Browse Source

Remove deprecated pango code and some debugging.

upstream/xfce4-panel-4.10.1
Nick Schermer 13 years ago
parent
commit
a15f6a4732
  1. 3
      configure.in.in
  2. 2
      panel/panel-window.c
  3. 2
      plugins/clock/clock.c

3
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 ***

2
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" };

2
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");
}

Loading…
Cancel
Save