[gnome-control-center] sharing: Update for list box API change



commit bd531b477ecd4b362faebe1c0d110c5d32e1be6b
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Jun 26 15:58:52 2014 +0200

    sharing: Update for list box API change

 panels/sharing/cc-sharing-networks.c |    2 +-
 panels/sharing/cc-sharing-panel.c    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/panels/sharing/cc-sharing-networks.c b/panels/sharing/cc-sharing-networks.c
index 8d26083..181ed99 100644
--- a/panels/sharing/cc-sharing-networks.c
+++ b/panels/sharing/cc-sharing-networks.c
@@ -414,7 +414,7 @@ cc_sharing_networks_constructed (GObject *object)
                                cc_list_box_update_header_func, NULL,
                                NULL);
 
-  cc_list_box_setup_scrolling (GTK_LIST_BOX (self->priv->listbox));
+  cc_list_box_setup_scrolling (GTK_LIST_BOX (self->priv->listbox), 3);
 
   self->priv->current_row = cc_sharing_networks_new_current_row (self);
   gtk_list_box_insert (GTK_LIST_BOX (self->priv->listbox), self->priv->current_row, -1);
diff --git a/panels/sharing/cc-sharing-panel.c b/panels/sharing/cc-sharing-panel.c
index f75bae2..255a6c8 100644
--- a/panels/sharing/cc-sharing-panel.c
+++ b/panels/sharing/cc-sharing-panel.c
@@ -724,7 +724,7 @@ cc_sharing_panel_setup_media_sharing_dialog (CcSharingPanel *self)
   gtk_list_box_set_header_func (GTK_LIST_BOX (box),
                                 cc_list_box_update_header_func, NULL,
                                 NULL);
-  cc_list_box_setup_scrolling (GTK_LIST_BOX (box));
+  cc_list_box_setup_scrolling (GTK_LIST_BOX (box), 3);
 
   list = folders;
   while (list && *list)


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