[gnome-control-center/gbsneto/search-applications: 1/6] applications: Remove unecessary cast



commit 1a4e7e180c8600450d88f1a5c68842ed0a245a09
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Fri Mar 29 17:30:36 2019 -0300

    applications: Remove unecessary cast
    
    The variable is a GtkListBox already.

 panels/applications/cc-applications-panel.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/panels/applications/cc-applications-panel.c b/panels/applications/cc-applications-panel.c
index 2ab0c321d..5a4593d3b 100644
--- a/panels/applications/cc-applications-panel.c
+++ b/panels/applications/cc-applications-panel.c
@@ -1706,7 +1706,7 @@ cc_applications_panel_init (CcApplicationsPanel *self)
                                 cc_list_box_update_header_func,
                                 NULL, NULL);
 
-  gtk_list_box_set_sort_func (GTK_LIST_BOX (self->sidebar_listbox),
+  gtk_list_box_set_sort_func (self->sidebar_listbox,
                               compare_rows,
                               NULL, NULL);
 


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