[maemo-commits] [maemo-commits] r8738 - in projects/haf/branches/maemo-af-desktop/hildon-desktop: . libhildondesktop
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Wed Dec 13 14:52:46 EET 2006
- Previous message: [maemo-commits] r8737 - projects/connectivity/osso-gwconnect/tags
- Next message: [maemo-commits] r8740 - in projects/haf/trunk/python: . debian
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: moimart Date: 2006-12-13 14:52:45 +0200 (Wed, 13 Dec 2006) New Revision: 8738 Modified: projects/haf/branches/maemo-af-desktop/hildon-desktop/ChangeLog projects/haf/branches/maemo-af-desktop/hildon-desktop/libhildondesktop/hildon-desktop-plugin.c projects/haf/branches/maemo-af-desktop/hildon-desktop/libhildondesktop/hildon-desktop-plugin.h Log: * libhildondesktop/hildon-desktop-plugin.[ch]: - Removed query symbl for plugins. Added macro for creating easily symbols for 3rd party plugin developers. * ChangeLog updated. Modified: projects/haf/branches/maemo-af-desktop/hildon-desktop/ChangeLog =================================================================== --- projects/haf/branches/maemo-af-desktop/hildon-desktop/ChangeLog 2006-12-13 09:27:57 UTC (rev 8737) +++ projects/haf/branches/maemo-af-desktop/hildon-desktop/ChangeLog 2006-12-13 12:52:45 UTC (rev 8738) @@ -1,5 +1,11 @@ 2006-12-12 Moises Martinez <moises.martinez at nokia.com> + * libhildondesktop/hildon-desktop-plugin.[ch]: + - Removed query symbl for plugins. Added macro for + creating easily symbols for 3rd party plugin developers. + +2006-12-11 Moises Martinez <moises.martinez at nokia.com> + * libhildonwm/hd-keys.[ch]: Refactoring to GObject. * libhildonwm/hd-wm.[ch]: Using a public a hd-keys config handler. * libhildonwm/hd-entry-info.[ch]: Code cleanup Modified: projects/haf/branches/maemo-af-desktop/hildon-desktop/libhildondesktop/hildon-desktop-plugin.c =================================================================== --- projects/haf/branches/maemo-af-desktop/hildon-desktop/libhildondesktop/hildon-desktop-plugin.c 2006-12-13 09:27:57 UTC (rev 8737) +++ projects/haf/branches/maemo-af-desktop/hildon-desktop/libhildondesktop/hildon-desktop-plugin.c 2006-12-13 12:52:45 UTC (rev 8738) @@ -96,7 +96,6 @@ plugin->priv->library = NULL; plugin->priv->load = NULL; - plugin->priv->query = NULL; plugin->priv->unload = NULL; } @@ -174,9 +173,6 @@ "hildon_desktop_plugin_load", (gpointer *) &plugin->priv->load) || !g_module_symbol (plugin->priv->library, - "hildon_desktop_plugin_query", - (gpointer *) &plugin->priv->query) || - !g_module_symbol (plugin->priv->library, "hildon_desktop_plugin_unload", (gpointer *) &plugin->priv->unload)) { Modified: projects/haf/branches/maemo-af-desktop/hildon-desktop/libhildondesktop/hildon-desktop-plugin.h =================================================================== --- projects/haf/branches/maemo-af-desktop/hildon-desktop/libhildondesktop/hildon-desktop-plugin.h 2006-12-13 09:27:57 UTC (rev 8737) +++ projects/haf/branches/maemo-af-desktop/hildon-desktop/libhildondesktop/hildon-desktop-plugin.h 2006-12-13 12:52:45 UTC (rev 8738) @@ -36,6 +36,15 @@ #define HILDON_DESKTOP_PLUGIN_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), HILDON_DESKTOP_TYPE_PLUGIN, HildonDesktopPluginClass)) #define HDPLUGIN_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), HILDON_DESKTOP_TYPE_PLUGIN, HildonDesktopPluginPrivate)) +#define HILDON_DESKTOP_PLUGIN_SYMBOLS(o) \ +static void hildon_desktop_plugin_load (HildonDesktopPlugin *plugin) \ +{ \ + hildon_desktop_plugin_add (plugin,o##_get_type()); \ +} \ +static void hildon_desktop_plugin_unload (HildonDesktopPlugin *plugin) \ +{ \ +} + G_BEGIN_DECLS typedef struct _HildonDesktopPlugin HildonDesktopPlugin;
- Previous message: [maemo-commits] r8737 - projects/connectivity/osso-gwconnect/tags
- Next message: [maemo-commits] r8740 - in projects/haf/trunk/python: . debian
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]