[gnome-control-center] media: don't use eel prefix for functions



commit 8b87acc6cf4dfc4cd4d45e1e6404518aff347891
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Tue Nov 23 11:38:48 2010 +0100

    media: don't use eel prefix for functions

 panels/media/cc-media-panel.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/panels/media/cc-media-panel.c b/panels/media/cc-media-panel.c
index 8f57fa0..61efbac 100644
--- a/panels/media/cc-media-panel.c
+++ b/panels/media/cc-media-panel.c
@@ -370,10 +370,10 @@ other_type_combo_box_changed (GtkComboBox *combo_box,
 }
 
 static int
-eel_g_strv_find (char **strv,
-		 const char *find_me)
+media_panel_g_strv_find (char **strv,
+			 const char *find_me)
 {
-  int index;
+  guint index;
 
   g_return_val_if_fail (find_me != NULL, -1);
 	
@@ -411,13 +411,13 @@ autorun_get_preferences (CcMediaPanel *self,
   x_content_open_folder = g_settings_get_strv (self->priv->preferences,
 					       PREF_MEDIA_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 = media_panel_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 = media_panel_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 = media_panel_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]