[gtk+] colorswatch: Remove an unused variable
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] colorswatch: Remove an unused variable
- Date: Wed, 8 Oct 2014 03:23:57 +0000 (UTC)
commit 7295c8f12bddc081a4736eb45d9bad1e45d8cdd3
Author: Benjamin Otte <otte redhat com>
Date: Tue Oct 7 17:01:31 2014 +0200
colorswatch: Remove an unused variable
gtk/gtkcolorswatch.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/gtk/gtkcolorswatch.c b/gtk/gtkcolorswatch.c
index 690de3a..c50e364 100644
--- a/gtk/gtkcolorswatch.c
+++ b/gtk/gtkcolorswatch.c
@@ -40,7 +40,6 @@ struct _GtkColorSwatchPrivate
gdouble radius[4];
gchar *icon;
guint has_color : 1;
- guint contains_pointer : 1;
guint use_alpha : 1;
guint selectable : 1;
@@ -387,8 +386,6 @@ static gboolean
swatch_enter_notify (GtkWidget *widget,
GdkEventCrossing *event)
{
- GtkColorSwatch *swatch = GTK_COLOR_SWATCH (widget);
- swatch->priv->contains_pointer = TRUE;
gtk_widget_set_state_flags (widget, GTK_STATE_FLAG_PRELIGHT, FALSE);
return FALSE;
@@ -398,8 +395,6 @@ static gboolean
swatch_leave_notify (GtkWidget *widget,
GdkEventCrossing *event)
{
- GtkColorSwatch *swatch = GTK_COLOR_SWATCH (widget);
- swatch->priv->contains_pointer = FALSE;
gtk_widget_unset_state_flags (widget, GTK_STATE_FLAG_PRELIGHT);
return FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]