[Xfce4-commits] <xfce4-indicator-plugin:master> remove the old stuff
Mark Trompell
noreply at xfce.org
Thu Feb 17 08:30:23 CET 2011
Updating branch refs/heads/master
to c980b4cf3ebb45c8424deb4b33ea79f02410996e (commit)
from a969bbde5814f06b9356fd99321d6712fefdc49f (commit)
commit c980b4cf3ebb45c8424deb4b33ea79f02410996e
Author: Mark Trompell <mark at 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);
More information about the Xfce4-commits
mailing list