[seahorse] Release version 3.3.3



commit 3d33ea88777a94dccfba93d420f023c21f50f576
Author: Stef Walter <stefw collabora co uk>
Date:   Mon Dec 19 11:57:51 2011 +0100

    Release version 3.3.3
    
     * Fix some compile warnings

 NEWS                            |   12 ++++++++++++
 libseahorse/seahorse-prefs.c    |    8 +++-----
 libseahorse/seahorse-progress.c |    4 +---
 pgp/seahorse-gpgme-data.c       |    4 ++--
 pgp/seahorse-gpgme-key.c        |    4 ++--
 ssh/seahorse-ssh-operation.c    |    2 +-
 6 files changed, 21 insertions(+), 13 deletions(-)
---
diff --git a/NEWS b/NEWS
index 6077f61..096c180 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,15 @@
+seahorse 3.3.3
+--------------
+
+ * Support for PKCS#11 key generation
+ * Support for creating certificate requests
+ * Certificate actions happen from certificate window.
+ * Reimplement export functionality
+ * Refactor deletion, unlocking, refreshing, and showing properties
+ * Add way to lookup places, and refresh appropriate place after import
+ * Fixes for glib 2.31.x deprecations
+ * Fix bugs, build issues, translations
+
 seahorse 3.3.2
 --------------
 
diff --git a/libseahorse/seahorse-prefs.c b/libseahorse/seahorse-prefs.c
index 229e92b..1ec6547 100644
--- a/libseahorse/seahorse-prefs.c
+++ b/libseahorse/seahorse-prefs.c
@@ -61,16 +61,14 @@ keyserver_cell_edited (GtkCellRendererText *cell, gchar *path, gchar *text,
                        GtkTreeModel *model)
 {
     GtkTreeIter iter;
-    gboolean ret;
-    
+
     if (!seahorse_servers_is_valid_uri (text)) {
         seahorse_util_show_error (NULL, _("Not a valid Key Server address."), 
                                   _("For help contact your system adminstrator or the administrator of the key server." ));
         return;
     }
-    
-    ret = gtk_tree_model_get_iter_from_string (model, &iter, path);
-    g_assert (ret);
+
+    g_warn_if_fail (gtk_tree_model_get_iter_from_string (model, &iter, path));
     gtk_tree_store_set (GTK_TREE_STORE (model), &iter, KEYSERVER_COLUMN, text, -1);
 }
 
diff --git a/libseahorse/seahorse-progress.c b/libseahorse/seahorse-progress.c
index 4e1a5ce..b1182cf 100644
--- a/libseahorse/seahorse-progress.c
+++ b/libseahorse/seahorse-progress.c
@@ -110,10 +110,8 @@ static void
 on_cancellable_cancelled (GCancellable *cancellable,
                           gpointer user_data)
 {
-	TrackedTask *task = user_data;
-
 	g_assert (tracked_tasks);
-	g_assert (task->cancellable == cancellable);
+	g_assert (((TrackedTask *)user_data)->cancellable == cancellable);
 	if (!g_hash_table_remove (tracked_tasks, cancellable))
 		g_assert_not_reached ();
 }
diff --git a/pgp/seahorse-gpgme-data.c b/pgp/seahorse-gpgme-data.c
index 9c3f842..234d662 100644
--- a/pgp/seahorse-gpgme-data.c
+++ b/pgp/seahorse-gpgme-data.c
@@ -170,7 +170,7 @@ static off_t
 output_seek (void *handle, off_t offset, int whence)
 {
 	GSeekable *seek;
-	GSeekType from;
+	GSeekType from = 0;
 	GError *err = NULL;
 	GOutputStream* output = handle;
 
@@ -264,7 +264,7 @@ static off_t
 input_seek (void *handle, off_t offset, int whence)
 {
 	GSeekable *seek;
-	GSeekType from;
+	GSeekType from = 0;
 	GError *err = NULL;
 	GInputStream* input = handle;
 
diff --git a/pgp/seahorse-gpgme-key.c b/pgp/seahorse-gpgme-key.c
index 5cc7603..aedb071 100644
--- a/pgp/seahorse-gpgme-key.c
+++ b/pgp/seahorse-gpgme-key.c
@@ -518,8 +518,8 @@ seahorse_gpgme_key_object_finalize (GObject *obj)
 	g_assert (self->pv->pubkey == NULL);
 	g_assert (self->pv->seckey == NULL);
 	g_assert (self->pv->uids == NULL);
-    
-	G_OBJECT_CLASS (seahorse_gpgme_key_parent_class)->finalize (obj);
+
+	G_OBJECT_CLASS (seahorse_gpgme_key_parent_class)->finalize (G_OBJECT (self));
 }
 
 static void
diff --git a/ssh/seahorse-ssh-operation.c b/ssh/seahorse-ssh-operation.c
index c320d7b..3a48cac 100644
--- a/ssh/seahorse-ssh-operation.c
+++ b/ssh/seahorse-ssh-operation.c
@@ -241,7 +241,7 @@ on_io_ssh_read (GIOChannel *source,
 	gchar buf[128];
 	GIOStatus status;
 	gsize read = 0;
-	GString *str;
+	GString *str = NULL;
 	gboolean ret = TRUE;
 
 	/* Figure out which buffer we're writing into */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]