[Xfce4-commits] [xfce/xfdesktop] 11/16: Remove unused code
noreply at xfce.org
noreply at xfce.org
Wed Apr 19 17:46:28 CEST 2017
This is an automated email from the git hooks/post-receive script.
eric pushed a commit to branch master
in repository xfce/xfdesktop.
commit ee153dcd3e1886ea201f223aa4cb81f75bee3112
Author: Eric Koegel <eric.koegel at gmail.com>
Date: Wed Apr 19 13:51:07 2017 +0300
Remove unused code
---
src/xfdesktop-icon-view.c | 27 ---------------------------
1 file changed, 27 deletions(-)
diff --git a/src/xfdesktop-icon-view.c b/src/xfdesktop-icon-view.c
index afe1bfe..a196f31 100644
--- a/src/xfdesktop-icon-view.c
+++ b/src/xfdesktop-icon-view.c
@@ -171,9 +171,6 @@ struct _XfdesktopIconViewPrivate
gboolean dropped;
GdkDragAction proposed_drop_action;
gint16 hover_row, hover_col;
-
- guchar label_alpha;
- guchar selected_label_alpha;
gint cell_padding;
gint cell_spacing;
@@ -504,19 +501,6 @@ xfdesktop_icon_view_class_init(XfdesktopIconViewClass *klass)
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0);
- gtk_widget_class_install_style_property(widget_class,
- g_param_spec_uchar("label-alpha",
- "Label alpha",
- "Alpha value for the text label's background",
- 0, 255, 155,
- G_PARAM_READABLE));
-
- gtk_widget_class_install_style_property(widget_class,
- g_param_spec_uchar("selected-label-alpha",
- "Selected label alpha",
- "Alpha value for the selected text label's background",
- 0, 255, 155,
- G_PARAM_READABLE));
gtk_widget_class_install_style_property(widget_class,
g_param_spec_int("cell-spacing",
@@ -1861,17 +1845,6 @@ xfdesktop_icon_view_style_updated(GtkWidget *widget)
{
XfdesktopIconView *icon_view = XFDESKTOP_ICON_VIEW(widget);
- gtk_widget_style_get(GTK_WIDGET(icon_view),
- "label-alpha", &icon_view->priv->label_alpha,
- NULL);
-
- XF_DEBUG("label alpha is %d\n", (gint)(icon_view->priv->label_alpha));
-
- gtk_widget_style_get(GTK_WIDGET(icon_view),
- "selected-label-alpha", &icon_view->priv->selected_label_alpha,
- NULL);
-
-
gtk_widget_style_get(widget,
"cell-spacing", &icon_view->priv->cell_spacing,
"cell-padding", &icon_view->priv->cell_padding,
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list