[maemo-commits] [maemo-commits] r9428 - in projects/haf/branches/maemo-af-desktop/hildon-desktop: . src

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Mon Jan 29 16:50:49 EET 2007
Author: jobi
Date: 2007-01-29 16:50:48 +0200 (Mon, 29 Jan 2007)
New Revision: 9428

Modified:
   projects/haf/branches/maemo-af-desktop/hildon-desktop/ChangeLog
   projects/haf/branches/maemo-af-desktop/hildon-desktop/src/hd-plugin-loader-legacy.c
Log:

2007-01-29  Johan Bilien  <johan.bilien at nokia.com>

	* src/hd-plugin-loader-legacy.c: Initialize the symbols structure
	to 0



Modified: projects/haf/branches/maemo-af-desktop/hildon-desktop/ChangeLog
===================================================================
--- projects/haf/branches/maemo-af-desktop/hildon-desktop/ChangeLog	2007-01-29 14:43:00 UTC (rev 9427)
+++ projects/haf/branches/maemo-af-desktop/hildon-desktop/ChangeLog	2007-01-29 14:50:48 UTC (rev 9428)
@@ -1,3 +1,8 @@
+2007-01-29  Johan Bilien  <johan.bilien at nokia.com>
+
+	* src/hd-plugin-loader-legacy.c: Initialize the symbols structure
+	to 0
+
 2007-01-29  Moises Martinez  <moises.martinez at nokia.com>
 
 	* src/hd-plugin-loader-legacy.c: Before setting the conditional 

Modified: projects/haf/branches/maemo-af-desktop/hildon-desktop/src/hd-plugin-loader-legacy.c
===================================================================
--- projects/haf/branches/maemo-af-desktop/hildon-desktop/src/hd-plugin-loader-legacy.c	2007-01-29 14:43:00 UTC (rev 9427)
+++ projects/haf/branches/maemo-af-desktop/hildon-desktop/src/hd-plugin-loader-legacy.c	2007-01-29 14:50:48 UTC (rev 9428)
@@ -633,7 +633,7 @@
   gchar            *stripped;
   gchar            *entry_name;
   GKeyFile         *keyfile;
-  struct SBSymbols symbols;
+  struct SBSymbols symbols = {0};
   gpointer          module_data;
   GtkWidget        *module_widget;
   GError           *local_error = NULL;
@@ -673,8 +673,6 @@
     return NULL;
   }
 
-  symbols.set_conditional = NULL;
-  
   ((SBEntry)symbol) (&symbols);
 
   if (!symbols.initialize || !symbols.destroy)


More information about the maemo-commits mailing list