[Goodies-commits] r6394 - in xfce4-screenshooter/trunk: . lib panel-plugin src
Jerome Guelfucci
jeromeg at xfce.org
Fri Jan 2 16:22:15 CET 2009
Author: jeromeg
Date: 2009-01-02 15:22:15 +0000 (Fri, 02 Jan 2009)
New Revision: 6394
Modified:
xfce4-screenshooter/trunk/ChangeLog
xfce4-screenshooter/trunk/configure.ac.in
xfce4-screenshooter/trunk/lib/Makefile.am
xfce4-screenshooter/trunk/panel-plugin/Makefile.am
xfce4-screenshooter/trunk/panel-plugin/screenshooter-plugin.c
xfce4-screenshooter/trunk/src/Makefile.am
Log:
* Improve the compiler flags set.
* configure.ac.in:
- use @LINGUAS@ instead of copying things from po/LINGUAS manually.
- set debugging as full for svn snapshots.
* panel-plugin/screenshooter-plugin.c: directly use button instead of
pd->button.
Modified: xfce4-screenshooter/trunk/ChangeLog
===================================================================
--- xfce4-screenshooter/trunk/ChangeLog 2009-01-02 12:10:48 UTC (rev 6393)
+++ xfce4-screenshooter/trunk/ChangeLog 2009-01-02 15:22:15 UTC (rev 6394)
@@ -1,5 +1,14 @@
2009-01-02
+ * Improve the compiler flags set.
+ * configure.ac.in:
+ - use @LINGUAS@ instead of copying things from po/LINGUAS manually.
+ - set debugging as full for svn snapshots.
+ * panel-plugin/screenshooter-plugin.c: directly use button instead of
+ pd->button.
+
+2009-01-02
+
* Post release bump.
* Fix two compiler warnings.
Modified: xfce4-screenshooter/trunk/configure.ac.in
===================================================================
--- xfce4-screenshooter/trunk/configure.ac.in 2009-01-02 12:10:48 UTC (rev 6393)
+++ xfce4-screenshooter/trunk/configure.ac.in 2009-01-02 15:22:15 UTC (rev 6394)
@@ -11,6 +11,11 @@
m4_define([xfce4_screenshooter_version_tag], [svn])
m4_define([xfce4_screenshooter_version], [xfce4_screenshooter_version_major().xfce4_screenshooter_version_minor().xfce4_screenshooter_version_micro()ifelse(xfce4_screenshooter_version_nano(), [], [], [.xfce4_screenshooter_version_nano()])ifelse(xfce4_screenshooter_version_tag(), [svn], [xfce4_screenshooter_version_tag()-xfce4_screenshooter_version_build()], [xfce4_screenshooter_version_tag()])])
+dnl *******************************************
+dnl *** Debugging support for SVN snapshots ***
+dnl *******************************************
+m4_define([xfce4_screenshooter_debug_default], [ifelse(xfce4_screenshooter_version_tag(), [svn], [full], [minimum])])
+
AC_INIT([xfce4-screenshooter], [xfce4_screenshooter_version], [http://bugzilla.xfce.org/], [xfce4-screenshooter])
AM_INIT_AUTOMAKE([1.8 dist-bzip2 tar-ustar])
@@ -51,7 +56,7 @@
XDT_CHECK_OPTIONAL_PACKAGE([GIO], [gio-2.0], [2.16])
dnl Translations
-XDT_I18N([ar ca cs da de el en_GB es eu fi fr gl hr hu id ja lv nb_NO nl pl pt_BR pt_PT sq tr uk ur zh_TW])
+XDT_I18N([@LINGUAS@])
dnl Check for debugging support
XDT_FEATURE_DEBUG()
Modified: xfce4-screenshooter/trunk/lib/Makefile.am
===================================================================
--- xfce4-screenshooter/trunk/lib/Makefile.am 2009-01-02 12:10:48 UTC (rev 6393)
+++ xfce4-screenshooter/trunk/lib/Makefile.am 2009-01-02 15:22:15 UTC (rev 6394)
@@ -13,7 +13,9 @@
@GLIB_CFLAGS@ \
@LIBXFCE4UTIL_CFLAGS@ \
@LIBXFCEGUI4_CFLAGS@ \
- -DPACKAGE_LOCALE_DIR=\"$(localedir)\" -Wall -Werror
+ -DPACKAGE_LOCALE_DIR=\"$(localedir)\" \
+ -Wall -Wextra -Werror -Wno-unused-parameter \
+ -Wno-missing-field-initializers
libscreenshooter_la_LIBADD = \
@GTK_LIBS@ \
Modified: xfce4-screenshooter/trunk/panel-plugin/Makefile.am
===================================================================
--- xfce4-screenshooter/trunk/panel-plugin/Makefile.am 2009-01-02 12:10:48 UTC (rev 6393)
+++ xfce4-screenshooter/trunk/panel-plugin/Makefile.am 2009-01-02 15:22:15 UTC (rev 6394)
@@ -5,7 +5,9 @@
-DPACKAGE_LOCALE_DIR=\"$(localedir)\" \
-I$(top_srcdir) \
-I$(top_srcdir)/lib \
- @LIBXFCE4PANEL_CFLAGS@ -Wall -Werror
+ @LIBXFCE4PANEL_CFLAGS@ \
+ -Wall -Wextra -Werror -Wno-unused-parameter \
+ -Wno-missing-field-initializers
xfce4_screenshooter_plugin_LDFLAGS = \
@LIBXFCE4PANEL_LIBS@ \
Modified: xfce4-screenshooter/trunk/panel-plugin/screenshooter-plugin.c
===================================================================
--- xfce4-screenshooter/trunk/panel-plugin/screenshooter-plugin.c 2009-01-02 12:10:48 UTC (rev 6393)
+++ xfce4-screenshooter/trunk/panel-plugin/screenshooter-plugin.c 2009-01-02 15:22:15 UTC (rev 6394)
@@ -156,12 +156,12 @@
{
/* Make the button unclickable so that the user does not press it while
another screenshot is in progress */
- gtk_widget_set_sensitive (GTK_WIDGET (pd->button), FALSE);
+ gtk_widget_set_sensitive (GTK_WIDGET (button), FALSE);
screenshooter_take_and_output_screenshot (pd->sd);
/* Make the panel button clickable */
- gtk_widget_set_sensitive (GTK_WIDGET (pd->button), TRUE);
+ gtk_widget_set_sensitive (GTK_WIDGET (button), TRUE);
}
Modified: xfce4-screenshooter/trunk/src/Makefile.am
===================================================================
--- xfce4-screenshooter/trunk/src/Makefile.am 2009-01-02 12:10:48 UTC (rev 6393)
+++ xfce4-screenshooter/trunk/src/Makefile.am 2009-01-02 15:22:15 UTC (rev 6394)
@@ -6,7 +6,9 @@
@LIBXFCE4UTIL_CFLAGS@ \
@LIBXFCEGUI4_CFLAGS@ \
-DPACKAGE_LOCALE_DIR=\"$(localedir)\" \
- -I$(top_srcdir)/lib -Wall -Werror
+ -I$(top_srcdir)/lib \
+ -Wall -Wextra -Werror -Wno-unused-parameter \
+ -Wno-missing-field-initializers
xfce4_screenshooter_LDFLAGS = \
@GTK_LIBS@ \
More information about the Goodies-commits
mailing list