[gnome-control-center/wip/oholy/remove-unused-cell-renderer: 41/41] user-accounts: Remove unused cell renderer



commit 58a784053dd34863af6a5d8a98f11cc96975ad1d
Author: Ondrej Holy <oholy redhat com>
Date:   Wed Feb 7 16:26:49 2018 +0100

    user-accounts: Remove unused cell renderer
    
    With the carousel, the custom user image cell renderer is no more needed.

 panels/user-accounts/meson.build                   |   1 -
 panels/user-accounts/um-cell-renderer-user-image.c | 137 ---------------------
 panels/user-accounts/um-cell-renderer-user-image.h |  53 --------
 panels/user-accounts/um-user-panel.c               |   2 -
 4 files changed, 193 deletions(-)
---
diff --git a/panels/user-accounts/meson.build b/panels/user-accounts/meson.build
index 174dccf0b..e2089ac03 100644
--- a/panels/user-accounts/meson.build
+++ b/panels/user-accounts/meson.build
@@ -106,7 +106,6 @@ sources = common_sources + files(
   'run-passwd.c',
   'um-account-type.c',
   'um-carousel.c',
-  'um-cell-renderer-user-image.c',
   'um-fingerprint-dialog.c',
   'um-history-dialog.c',
   'um-password-dialog.c',
diff --git a/panels/user-accounts/um-user-panel.c b/panels/user-accounts/um-user-panel.c
index b52fe376b..15fe0c864 100644
--- a/panels/user-accounts/um-user-panel.c
+++ b/panels/user-accounts/um-user-panel.c
@@ -39,7 +39,6 @@
 #include <libgnome-desktop/gnome-languages.h>
 
 #include "um-user-image.h"
-#include "um-cell-renderer-user-image.h"
 
 #include "um-account-dialog.h"
 #include "cc-language-chooser.h"
@@ -1440,7 +1439,6 @@ cc_user_panel_init (CcUserPanel *self)
 
         /* register types that the builder might need */
         type = um_user_image_get_type ();
-        type = um_cell_renderer_user_image_get_type ();
         type = um_carousel_get_type ();
 
         d->builder = gtk_builder_new ();


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