[gtk+/quartz-integration: 89/108] GtkWidget: avoid an unused variable warning
- From: John Ralls <jralls src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/quartz-integration: 89/108] GtkWidget: avoid an unused variable warning
- Date: Wed, 4 May 2011 06:33:31 +0000 (UTC)
commit 3d102da9e267e7cbef107be743e0542a78ad4ed3
Author: Matthias Clasen <mclasen redhat com>
Date: Sun May 1 10:02:58 2011 -0400
GtkWidget: avoid an unused variable warning
gtk/gtkwidget.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index f7094ba..575c959 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -7603,19 +7603,19 @@ gtk_widget_set_sensitive (GtkWidget *widget,
sensitive = (sensitive != FALSE);
- if (widget->priv->sensitive == sensitive)
+ if (priv->sensitive == sensitive)
return;
data.flags = GTK_STATE_FLAG_INSENSITIVE;
if (sensitive)
{
- widget->priv->sensitive = TRUE;
+ priv->sensitive = TRUE;
data.operation = STATE_CHANGE_UNSET;
}
else
{
- widget->priv->sensitive = FALSE;
+ priv->sensitive = FALSE;
data.operation = STATE_CHANGE_SET;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]