aboutsummaryrefslogtreecommitdiffstats
path: root/executive-summary/test-service
diff options
context:
space:
mode:
authorIain Holmes <iain@src.gnome.org>2001-05-11 03:06:48 +0800
committerIain Holmes <iain@src.gnome.org>2001-05-11 03:06:48 +0800
commitd16acb954a6919ce909c105c52e205159bf1af08 (patch)
treedfd22320964cb685f9708dcb3741abe2cc317f6b /executive-summary/test-service
parentdd04e750f24f2e0300bc45e4916dddf6d492024c (diff)
downloadgsoc2013-evolution-d16acb954a6919ce909c105c52e205159bf1af08.tar
gsoc2013-evolution-d16acb954a6919ce909c105c52e205159bf1af08.tar.gz
gsoc2013-evolution-d16acb954a6919ce909c105c52e205159bf1af08.tar.bz2
gsoc2013-evolution-d16acb954a6919ce909c105c52e205159bf1af08.tar.lz
gsoc2013-evolution-d16acb954a6919ce909c105c52e205159bf1af08.tar.xz
gsoc2013-evolution-d16acb954a6919ce909c105c52e205159bf1af08.tar.zst
gsoc2013-evolution-d16acb954a6919ce909c105c52e205159bf1af08.zip
Fix a crash when Update Now is clicked.
svn path=/trunk/; revision=9745
Diffstat (limited to 'executive-summary/test-service')
-rw-r--r--executive-summary/test-service/rdf-summary.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/executive-summary/test-service/rdf-summary.c b/executive-summary/test-service/rdf-summary.c
index c7bf12cf0f..6c513280c0 100644
--- a/executive-summary/test-service/rdf-summary.c
+++ b/executive-summary/test-service/rdf-summary.c
@@ -632,6 +632,13 @@ download (RdfSummary *summary)
}
static void
+download_cb (GtkWidget *w,
+ RdfSummary *summary)
+{
+ download (summary);
+}
+
+static void
get_prop (BonoboPropertyBag *bag,
BonoboArg *arg,
guint arg_id,
@@ -777,7 +784,7 @@ property_control (BonoboPropertyControl *property_control,
button = gtk_button_new_with_label (_("Update now"));
gtk_signal_connect (GTK_OBJECT (button), "clicked",
- GTK_SIGNAL_FUNC (download), summary);
+ GTK_SIGNAL_FUNC (download_cb), summary);
gtk_box_pack_start (GTK_BOX (hbox), button, TRUE, TRUE, 0);
gtk_box_pack_start (GTK_BOX (container), hbox, FALSE, FALSE, 0);