[Goodies-commits] r5979 - in xfce4-screenshooter-plugin/trunk: . lib
Jerome Guelfucci
jeromeg at xfce.org
Wed Nov 5 09:44:55 CET 2008
Author: jeromeg
Date: 2008-11-05 08:44:54 +0000 (Wed, 05 Nov 2008)
New Revision: 5979
Modified:
xfce4-screenshooter-plugin/trunk/ChangeLog
xfce4-screenshooter-plugin/trunk/NEWS
xfce4-screenshooter-plugin/trunk/configure.ac.in
xfce4-screenshooter-plugin/trunk/lib/screenshooter-dialogs.c
xfce4-screenshooter-plugin/trunk/lib/screenshooter-utils.c
xfce4-screenshooter-plugin/trunk/xfce4-screenshooter.1
Log:
* Add svn tag.
* Fix the version mess.
* lib/screenshooter-utils.c:
- (screenshooter_read_rc_file) apply a patch by Enrico Tr?\195?\182ger to fix a
crash.
* lib/screenshooter-dialogs.c:
- plug a leak in (cb_default_folder) and in (cb_combo_active_item_changed).
Modified: xfce4-screenshooter-plugin/trunk/ChangeLog
===================================================================
--- xfce4-screenshooter-plugin/trunk/ChangeLog 2008-11-05 08:13:11 UTC (rev 5978)
+++ xfce4-screenshooter-plugin/trunk/ChangeLog 2008-11-05 08:44:54 UTC (rev 5979)
@@ -1,3 +1,15 @@
+2008-11-05 jeromeg
+
+ * Add svn tag.
+ * Fix the version mess.
+ * lib/screenshooter-utils.c:
+ - (screenshooter_read_rc_file) apply a patch by Enrico Tröger to fix a
+ crash.
+ * lib/screenshooter-dialogs.c:
+ - plug a leak in (cb_default_folder) and in (cb_combo_active_item_changed).
+
+ === 1.3.9.0 ===
+
2008-11-04 jeromeg
* Fix make distcheck.
Modified: xfce4-screenshooter-plugin/trunk/NEWS
===================================================================
--- xfce4-screenshooter-plugin/trunk/NEWS 2008-11-05 08:13:11 UTC (rev 5978)
+++ xfce4-screenshooter-plugin/trunk/NEWS 2008-11-05 08:44:54 UTC (rev 5979)
@@ -1,5 +1,10 @@
-=== Version 1.3.90 ===
+=== Version 1.3.9.1 ===
+ * Apply a patch by Enrico Tröger to fix a crash.
+ * Plug some additionnal leaks.
+
+=== Version 1.3.9.0 ===
+
* Add a dialog to set the screenshot options and take a screenshot when no
CLI option is given to the executable, add a menu entry for the application.
* Add options to open the screenshot with an application after taking it. This
Modified: xfce4-screenshooter-plugin/trunk/configure.ac.in
===================================================================
--- xfce4-screenshooter-plugin/trunk/configure.ac.in 2008-11-05 08:13:11 UTC (rev 5978)
+++ xfce4-screenshooter-plugin/trunk/configure.ac.in 2008-11-05 08:44:54 UTC (rev 5979)
@@ -8,7 +8,7 @@
m4_define([xfce4_screenshooter_plugin_version_micro], [9])
m4_define([xfce4_screenshooter_plugin_version_nano], [0]) dnl leave this empty to have no nano version
m4_define([xfce4_screenshooter_plugin_version_build], [r at REVISION@])
-m4_define([xfce4_screenshooter_plugin_version_tag], [])
+m4_define([xfce4_screenshooter_plugin_version_tag], [svn])
m4_define([xfce4_screenshooter_plugin_version], [xfce4_screenshooter_plugin_version_major().xfce4_screenshooter_plugin_version_minor().xfce4_screenshooter_plugin_version_micro()ifelse(xfce4_screenshooter_plugin_version_nano(), [], [], [.xfce4_screenshooter_plugin_version_nano()])ifelse(xfce4_screenshooter_plugin_version_tag(), [svn], [xfce4_screenshooter_plugin_version_tag()-xfce4_screenshooter_plugin_version_build()], [xfce4_screenshooter_plugin_version_tag()])])
AC_INIT([xfce4-screenshooter-plugin], [xfce4_screenshooter_plugin_version], [http://bugzilla.xfce.org/], [xfce4-screenshooter-plugin])
Modified: xfce4-screenshooter-plugin/trunk/lib/screenshooter-dialogs.c
===================================================================
--- xfce4-screenshooter-plugin/trunk/lib/screenshooter-dialogs.c 2008-11-05 08:13:11 UTC (rev 5978)
+++ xfce4-screenshooter-plugin/trunk/lib/screenshooter-dialogs.c 2008-11-05 08:44:54 UTC (rev 5979)
@@ -93,6 +93,7 @@
static void cb_default_folder (GtkWidget *chooser,
ScreenshotData *sd)
{
+ g_free (sd->screenshot_dir);
sd->screenshot_dir =
gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (chooser));
}
@@ -121,6 +122,7 @@
gtk_tree_model_get (model, &iter, 2, &active_command, -1);
+ g_free (sd->app);
sd->app = active_command;
}
Modified: xfce4-screenshooter-plugin/trunk/lib/screenshooter-utils.c
===================================================================
--- xfce4-screenshooter-plugin/trunk/lib/screenshooter-utils.c 2008-11-05 08:13:11 UTC (rev 5978)
+++ xfce4-screenshooter-plugin/trunk/lib/screenshooter-utils.c 2008-11-05 08:44:54 UTC (rev 5979)
@@ -296,7 +296,7 @@
gint show_save_dialog = 1;
gchar *screenshot_dir = g_strdup (DEFAULT_SAVE_DIRECTORY);
#ifdef HAVE_GIO
- gchar *app = DEFAULT_APPLICATION;
+ gchar *app = g_strdup (DEFAULT_APPLICATION);
#endif
if (g_file_test (file, G_FILE_TEST_EXISTS))
@@ -312,6 +312,7 @@
show_save_dialog =
xfce_rc_read_int_entry (rc, "show_save_dialog", 1);
#ifdef HAVE_GIO
+ g_free (app);
app =
g_strdup (xfce_rc_read_entry (rc, "app", DEFAULT_APPLICATION));
#endif
Modified: xfce4-screenshooter-plugin/trunk/xfce4-screenshooter.1
===================================================================
--- xfce4-screenshooter-plugin/trunk/xfce4-screenshooter.1 2008-11-05 08:13:11 UTC (rev 5978)
+++ xfce4-screenshooter-plugin/trunk/xfce4-screenshooter.1 2008-11-05 08:44:54 UTC (rev 5979)
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
-.TH XFCE4-SCREENSHOOTER-PLUGIN "1" "June 2008" "xfce4-screenshooter-plugin 1.3.90" "User Commands"
+.TH XFCE4-SCREENSHOOTER-PLUGIN "1" "June 2008" "xfce4-screenshooter-plugin 1.3.9.0" "User Commands"
.SH NAME
xfce4-screenshooter-plugin \- panel plugin and standalone application to take screenshots
.SH DESCRIPTION
More information about the Goodies-commits
mailing list