user-accounts: Remove unused icon style code

This commit is contained in:
Robert Ancell 2018-11-09 09:14:58 +13:00
parent feaa29bfc0
commit 96b6ae98d0
3 changed files with 3 additions and 169 deletions

View file

@ -25,12 +25,6 @@
G_BEGIN_DECLS
typedef enum {
UM_ICON_STYLE_NONE = 0,
UM_ICON_STYLE_FRAME = 1 << 0,
UM_ICON_STYLE_STATUS = 1 << 1
} UmIconStyle;
void setup_tooltip_with_embedded_icon (GtkWidget *widget,
const gchar *text,
const gchar *placeholder,
@ -50,14 +44,6 @@ void popup_menu_below_button (GtkMenu *menu,
gboolean *push_in,
GtkWidget *button);
void rounded_rectangle (cairo_t *cr,
gdouble aspect,
gdouble x,
gdouble y,
gdouble corner_radius,
gdouble width,
gdouble height);
gboolean is_valid_name (const gchar *name);
gboolean is_valid_username (const gchar *name,
gchar **tip);
@ -66,7 +52,6 @@ void generate_username_choices (const gchar *name,
GtkListStore *store);
cairo_surface_t *render_user_icon (ActUser *user,
UmIconStyle style,
gint icon_size,
gint scale);