gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r1276 - in gnunet-gtk/src/plugins: about daemon


From: grothoff
Subject: [GNUnet-SVN] r1276 - in gnunet-gtk/src/plugins: about daemon
Date: Tue, 5 Jul 2005 14:49:45 -0700 (PDT)

Author: grothoff
Date: 2005-07-05 14:49:41 -0700 (Tue, 05 Jul 2005)
New Revision: 1276

Modified:
   gnunet-gtk/src/plugins/about/about.c
   gnunet-gtk/src/plugins/daemon/daemon.c
Log:
working around libtool, glibc, pthread limiations

Modified: gnunet-gtk/src/plugins/about/about.c
===================================================================
--- gnunet-gtk/src/plugins/about/about.c        2005-07-05 21:47:27 UTC (rev 
1275)
+++ gnunet-gtk/src/plugins/about/about.c        2005-07-05 21:49:41 UTC (rev 
1276)
@@ -47,7 +47,7 @@
   g_object_unref(axml);
 }
 
-void __attribute__ ((constructor)) about_ltdl_init(void) {
+void init_about() {
   GtkWidget * tab;
 
   tab

Modified: gnunet-gtk/src/plugins/daemon/daemon.c
===================================================================
--- gnunet-gtk/src/plugins/daemon/daemon.c      2005-07-05 21:47:27 UTC (rev 
1275)
+++ gnunet-gtk/src/plugins/daemon/daemon.c      2005-07-05 21:49:41 UTC (rev 
1276)
@@ -130,7 +130,7 @@
   cronCheckDaemon(NULL);
 }
 
-void __attribute__ ((constructor)) daemon_ltdl_init(void) {
+void init_daemon() {
   GtkWidget * tab;
 
   tab
@@ -144,13 +144,10 @@
             NULL);
 }
 
-void __attribute__ ((destructor)) daemon_ltdl_fini(void) {
+void done_daemon() {
   delCronJob(&cronCheckDaemon, 
             15 * cronSECONDS,
             NULL);
 }
 
-
-
-
 /* end of daemon.c */





reply via email to

[Prev in Thread] Current Thread [Next in Thread]