]> git.0d.be Git - empathy.git/blobdiff - libempathy-gtk/empathy-roster-view.c
Updated Spanish Translation
[empathy.git] / libempathy-gtk / empathy-roster-view.c
index e3d8c7a6e9ba54443c18975d0c962b93f622f2ff..0dab3ba66d833a2c5f8cd3e4779da1942a44bdff 100644 (file)
@@ -196,9 +196,9 @@ add_roster_contact (EmpathyRosterView *self,
 }
 
 static void
-group_expanded_cb (EmpathyRosterGroup *group,
+group_expanded_cb (GtkWidget *expander,
     GParamSpec *spec,
-    EmpathyRosterView *self)
+    EmpathyRosterGroup *group)
 {
   GList *widgets, *l;
 
@@ -241,8 +241,8 @@ ensure_roster_group (EmpathyRosterView *self,
   gtk_expander_set_expanded (EMPATHY_ROSTER_GROUP (roster_group)->expander,
       empathy_contact_group_get_expanded (group));
 
-  g_signal_connect (roster_group, "notify::expanded",
-      G_CALLBACK (group_expanded_cb), self);
+  g_signal_connect (EMPATHY_ROSTER_GROUP (roster_group)->expander,
+      "notify::expanded", G_CALLBACK (group_expanded_cb), roster_group);
 
   gtk_widget_show (roster_group);
   gtk_container_add (GTK_CONTAINER (self), roster_group);
@@ -768,11 +768,11 @@ update_header (GtkListBoxRow *row,
   if (before == NULL)
     {
       /* No separator before the first row */
-      gtk_list_box_row_set_header(row, NULL);
+      gtk_list_box_row_set_header (row, NULL);
       return;
     }
 
-  if (gtk_list_box_row_get_header(row) != NULL)
+  if (gtk_list_box_row_get_header (row) != NULL)
     return;
 
   gtk_list_box_row_set_header (row,