Updating branch refs/heads/master to c980b4cf3ebb45c8424deb4b33ea79f02410996e (commit) from a969bbde5814f06b9356fd99321d6712fefdc49f (commit)
commit c980b4cf3ebb45c8424deb4b33ea79f02410996e Author: Mark Trompell <m...@foresightlinux.org> Date: Fri Jun 5 13:46:09 2009 +0200 remove the old stuff panel-plugin/indicator.c | 12 +----------- 1 files changed, 1 insertions(+), 11 deletions(-) diff --git a/panel-plugin/indicator.c b/panel-plugin/indicator.c index a588b80..6201041 100644 --- a/panel-plugin/indicator.c +++ b/panel-plugin/indicator.c @@ -314,19 +314,9 @@ load_module (const gchar * name, GtkWidget * menu) g_debug("Looking at Module: %s", name); g_return_val_if_fail(name != NULL, FALSE); - guint suffix_len = strlen(G_MODULE_SUFFIX); - guint name_len = strlen(name); - - g_return_val_if_fail(name_len > suffix_len, FALSE); if (!g_str_has_suffix(name,G_MODULE_SUFFIX)) return FALSE; -/* - int i; - for (i = 0; i < suffix_len; i++) { - if (name[(name_len - suffix_len) + i] != (G_MODULE_SUFFIX)[i]) - return FALSE; - } - */ + g_debug("Loading Module: %s", name); gchar * fullpath = g_build_filename(INDICATOR_DIR, name, NULL); _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org http://foo-projects.org/mailman/listinfo/xfce4-commits