[gnome-settings-daemon/automounter] automount: don't use eel prefix for functions
- From: Tomas Bzatek <tbzatek src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon/automounter] automount: don't use eel prefix for functions
- Date: Wed, 24 Nov 2010 15:00:00 +0000 (UTC)
commit 50bf3ab73b922b0af931f7336cf9fe630a65995a
Author: Tomas Bzatek <tbzatek redhat com>
Date: Wed Nov 24 14:59:06 2010 +0100
automount: don't use eel prefix for functions
plugins/automount/nautilus-autorun.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/plugins/automount/nautilus-autorun.c b/plugins/automount/nautilus-autorun.c
index d265993..e302999 100644
--- a/plugins/automount/nautilus-autorun.c
+++ b/plugins/automount/nautilus-autorun.c
@@ -88,7 +88,7 @@ show_error_dialog (const char *primary_text,
/**
- * eel_g_strv_find
+ * nautilus_autorun_g_strv_find
*
* Get index of string in array of strings.
*
@@ -99,9 +99,9 @@ show_error_dialog (const char *primary_text,
* matches @find_me, or -1 if no matching entry.
*/
static int
-eel_g_strv_find (char **strv, const char *find_me)
+nautilus_autorun_g_strv_find (char **strv, const char *find_me)
{
- int index;
+ guint index;
g_return_val_if_fail (find_me != NULL, -1);
@@ -203,13 +203,13 @@ nautilus_autorun_get_preferences (const char *x_content_type,
x_content_ignore = g_settings_get_strv (settings, "autorun-x-content-ignore");
x_content_open_folder = g_settings_get_strv (settings, "autorun-x-content-open-folder");
if (x_content_start_app != NULL) {
- *pref_start_app = eel_g_strv_find (x_content_start_app, x_content_type) != -1;
+ *pref_start_app = nautilus_autorun_g_strv_find (x_content_start_app, x_content_type) != -1;
}
if (x_content_ignore != NULL) {
- *pref_ignore = eel_g_strv_find (x_content_ignore, x_content_type) != -1;
+ *pref_ignore = nautilus_autorun_g_strv_find (x_content_ignore, x_content_type) != -1;
}
if (x_content_open_folder != NULL) {
- *pref_open_folder = eel_g_strv_find (x_content_open_folder, x_content_type) != -1;
+ *pref_open_folder = nautilus_autorun_g_strv_find (x_content_open_folder, x_content_type) != -1;
}
g_strfreev (x_content_ignore);
g_strfreev (x_content_start_app);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]