[gnome-calendar/calendar-editor] window: rename GcalWindow::make_row_for_source to GcalWindow::make_row_from_source



commit 9b1fc99943230284d78708987ea96877fb750291
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Mon Feb 23 13:18:16 2015 -0300

    window: rename GcalWindow::make_row_for_source to GcalWindow::make_row_from_source

 src/gcal-window.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/gcal-window.c b/src/gcal-window.c
index 1eeeaf5..b194e39 100644
--- a/src/gcal-window.c
+++ b/src/gcal-window.c
@@ -191,7 +191,7 @@ static void           add_source                         (GcalManager         *m
                                                           gpointer             user_data);
 
 
-static GtkWidget*     make_row_for_source                (GcalWindow          *window,
+static GtkWidget*     make_row_from_source               (GcalWindow          *window,
                                                           ESource             *source);
 
 static void           remove_source                      (GcalManager         *manager,
@@ -781,7 +781,7 @@ add_source (GcalManager *manager,
   GtkWidget *row;
 
   priv = gcal_window_get_instance_private (GCAL_WINDOW (user_data));
-  row = make_row_for_source (GCAL_WINDOW (user_data), source);
+  row = make_row_from_source (GCAL_WINDOW (user_data), source);
 
   /* add to the hash */
   g_hash_table_insert (priv->calendar_source_to_row, source, row);
@@ -790,7 +790,7 @@ add_source (GcalManager *manager,
 }
 
 /**
- * make_row_for_source:
+ * make_row_from_source:
  *
  * Create a GtkListBoxRow for a given
  * ESource.
@@ -798,8 +798,8 @@ add_source (GcalManager *manager,
  * Returns: (transfer full) the new row
  */
 static GtkWidget*
-make_row_for_source (GcalWindow *window,
-                     ESource    *source)
+make_row_from_source (GcalWindow *window,
+                      ESource    *source)
 {
   GcalWindowPrivate *priv = gcal_window_get_instance_private (window);
   GtkWidget *label, *icon, *separator, *checkbox, *box, *row;
@@ -934,7 +934,7 @@ source_row_activated (GtkListBox    *listbox,
     }
   else
     {
-      new_row = make_row_for_source (GCAL_WINDOW (user_data), source);
+      new_row = make_row_from_source (GCAL_WINDOW (user_data), source);
 
       g_hash_table_insert (priv->calendar_source_to_row, source, new_row);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]