seahorse r2306 - in trunk: . libseahorse
- From: nnielsen svn gnome org
- To: svn-commits-list gnome org
- Subject: seahorse r2306 - in trunk: . libseahorse
- Date: Sun, 27 Jul 2008 15:27:58 +0000 (UTC)
Author: nnielsen
Date: Sun Jul 27 15:27:57 2008
New Revision: 2306
URL: http://svn.gnome.org/viewvc/seahorse?rev=2306&view=rev
Log:
* libseahorse/seahorse-progress.c: Fix reference counting
problem on operations.
Modified:
trunk/ChangeLog
trunk/libseahorse/seahorse-progress.c
Modified: trunk/libseahorse/seahorse-progress.c
==============================================================================
--- trunk/libseahorse/seahorse-progress.c (original)
+++ trunk/libseahorse/seahorse-progress.c Sun Jul 27 15:27:57 2008
@@ -119,6 +119,7 @@
}
operation_progress (operation, "", 0.0, swidget);
+ g_object_set_data (G_OBJECT (swidget), "operation", NULL);
}
static void
@@ -153,6 +154,7 @@
/* If the previous one was a multi operation, just piggy back this one in */
if (SEAHORSE_IS_MULTI_OPERATION (prev)) {
+ g_object_ref (operation);
seahorse_multi_operation_take (SEAHORSE_MULTI_OPERATION (prev), operation);
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]