[gtk+/buttons: 3/5] GtkButton: remove some unused variables
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/buttons: 3/5] GtkButton: remove some unused variables
- Date: Wed, 1 Dec 2010 07:52:22 +0000 (UTC)
commit 7c7a10c7c1d3bfb7e9b170bac467621fa4dd1143
Author: Ryan Lortie <desrt desrt ca>
Date: Wed Dec 1 01:14:38 2010 -0500
GtkButton: remove some unused variables
gtk/gtktogglebutton.c | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/gtk/gtktogglebutton.c b/gtk/gtktogglebutton.c
index ecddc5a..6caee85 100644
--- a/gtk/gtktogglebutton.c
+++ b/gtk/gtktogglebutton.c
@@ -474,9 +474,6 @@ gtk_toggle_button_get_preferred_width (GtkWidget *widget,
gint *minimum,
gint *natural)
{
- GtkToggleButton *button = GTK_TOGGLE_BUTTON (widget);
- GtkToggleButtonPrivate *priv = button->priv;
-
if (gtk_button_get_indicator_style (GTK_BUTTON (widget)) != GTK_INDICATOR_STYLE_PLAIN)
{
GtkWidget *child;
@@ -520,9 +517,6 @@ gtk_toggle_button_get_preferred_height (GtkWidget *widget,
gint *minimum,
gint *natural)
{
- GtkToggleButton *button = GTK_TOGGLE_BUTTON (widget);
- GtkToggleButtonPrivate *priv = button->priv;
-
if (gtk_button_get_indicator_style (GTK_BUTTON (widget)) != GTK_INDICATOR_STYLE_PLAIN)
{
GtkWidget *child;
@@ -568,8 +562,6 @@ static void
gtk_toggle_button_size_allocate (GtkWidget *widget,
GtkAllocation *allocation)
{
- GtkToggleButton *button = GTK_TOGGLE_BUTTON (widget);
- GtkToggleButtonPrivate *priv = button->priv;
GtkAllocation child_allocation;
if (gtk_button_get_indicator_style (GTK_BUTTON (widget)) != GTK_INDICATOR_STYLE_PLAIN)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]