empathy r587 - in trunk: libempathy-gtk megaphone/src python/pyempathygtk



Author: xclaesse
Date: Sun Jan 20 21:42:04 2008
New Revision: 587
URL: http://svn.gnome.org/viewvc/empathy?rev=587&view=rev

Log:
Do not take show_groups in empathy_contact_list_store_new


Modified:
   trunk/libempathy-gtk/empathy-contact-list-store.c
   trunk/libempathy-gtk/empathy-contact-list-store.h
   trunk/libempathy-gtk/empathy-group-chat.c
   trunk/libempathy-gtk/empathy-main-window.c
   trunk/megaphone/src/megaphone-applet.c
   trunk/python/pyempathygtk/pyempathygtk.defs

Modified: trunk/libempathy-gtk/empathy-contact-list-store.c
==============================================================================
--- trunk/libempathy-gtk/empathy-contact-list-store.c	(original)
+++ trunk/libempathy-gtk/empathy-contact-list-store.c	Sun Jan 20 21:42:04 2008
@@ -394,14 +394,12 @@
 }
 
 EmpathyContactListStore *
-empathy_contact_list_store_new (EmpathyContactList *list_iface,
-				gboolean            show_groups)
+empathy_contact_list_store_new (EmpathyContactList *list_iface)
 {
 	g_return_val_if_fail (EMPATHY_IS_CONTACT_LIST (list_iface), NULL);
 
 	return g_object_new (EMPATHY_TYPE_CONTACT_LIST_STORE,
 			     "contact-list", list_iface,
-			     "show-groups", show_groups,
 			     NULL);
 }
 

Modified: trunk/libempathy-gtk/empathy-contact-list-store.h
==============================================================================
--- trunk/libempathy-gtk/empathy-contact-list-store.h	(original)
+++ trunk/libempathy-gtk/empathy-contact-list-store.h	Sun Jan 20 21:42:04 2008
@@ -73,8 +73,7 @@
 };
 
 GType                      empathy_contact_list_store_get_type           (void) G_GNUC_CONST;
-EmpathyContactListStore *  empathy_contact_list_store_new                (EmpathyContactList         *list_iface,
-									  gboolean                    show_groups);
+EmpathyContactListStore *  empathy_contact_list_store_new                (EmpathyContactList         *list_iface);
 EmpathyContactList *       empathy_contact_list_store_get_list_iface     (EmpathyContactListStore     *store);
 gboolean                   empathy_contact_list_store_get_show_offline   (EmpathyContactListStore     *store);
 void                       empathy_contact_list_store_set_show_offline   (EmpathyContactListStore     *store,

Modified: trunk/libempathy-gtk/empathy-group-chat.c
==============================================================================
--- trunk/libempathy-gtk/empathy-group-chat.c	(original)
+++ trunk/libempathy-gtk/empathy-group-chat.c	Sun Jan 20 21:42:04 2008
@@ -526,7 +526,7 @@
 	}
 
 	/* Create contact list */
-	priv->store = empathy_contact_list_store_new (EMPATHY_CONTACT_LIST (priv->tp_chat), TRUE);
+	priv->store = empathy_contact_list_store_new (EMPATHY_CONTACT_LIST (priv->tp_chat));
 	priv->view = empathy_contact_list_view_new (priv->store,
 						    EMPATHY_CONTACT_LIST_FEATURE_CONTACT_CHAT |
 						    EMPATHY_CONTACT_LIST_FEATURE_CONTACT_CALL |

Modified: trunk/libempathy-gtk/empathy-main-window.c
==============================================================================
--- trunk/libempathy-gtk/empathy-main-window.c	(original)
+++ trunk/libempathy-gtk/empathy-main-window.c	Sun Jan 20 21:42:04 2008
@@ -284,7 +284,7 @@
 	empathy_status_presets_get_all ();
 
 	list_iface = EMPATHY_CONTACT_LIST (empathy_contact_manager_new ());
-	window->list_store = empathy_contact_list_store_new (list_iface, TRUE);
+	window->list_store = empathy_contact_list_store_new (list_iface);
 	window->list_view = empathy_contact_list_view_new (window->list_store,
 							   EMPATHY_CONTACT_LIST_FEATURE_ALL);
 	g_object_unref (list_iface);

Modified: trunk/megaphone/src/megaphone-applet.c
==============================================================================
--- trunk/megaphone/src/megaphone-applet.c	(original)
+++ trunk/megaphone/src/megaphone-applet.c	Sun Jan 20 21:42:04 2008
@@ -358,7 +358,7 @@
 
 	/* Show all contacts, even offline and sort alphabetically */
 	contact_manager = empathy_contact_manager_new ();
-	contact_store = empathy_contact_list_store_new (EMPATHY_CONTACT_LIST (contact_manager), TRUE);
+	contact_store = empathy_contact_list_store_new (EMPATHY_CONTACT_LIST (contact_manager));
 	g_object_set (contact_store,
 		      "is-compact", TRUE,
 		      "show-avatars", TRUE,

Modified: trunk/python/pyempathygtk/pyempathygtk.defs
==============================================================================
--- trunk/python/pyempathygtk/pyempathygtk.defs	(original)
+++ trunk/python/pyempathygtk/pyempathygtk.defs	Sun Jan 20 21:42:04 2008
@@ -1052,9 +1052,6 @@
   (of-object "EmpathyContactList")
   (c-name "empathy_contact_list_store_new")
   (return-type "EmpathyContactListStore*")
-  (parameters
-    '("gboolean" "show_groups")
-  )
 )
 
 (define-method get_list_iface



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