[gtk+/resizegrips] Trivial: remove some unused variables
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/resizegrips] Trivial: remove some unused variables
- Date: Sun, 3 Oct 2010 14:41:46 +0000 (UTC)
commit 25e0e1464678b753d094df39db38c6fed9743b7e
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Oct 3 10:40:45 2010 -0400
Trivial: remove some unused variables
gtk/gtkrange.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtkrange.c b/gtk/gtkrange.c
index 0cda3cf..0abffb8 100644
--- a/gtk/gtkrange.c
+++ b/gtk/gtkrange.c
@@ -1566,7 +1566,7 @@ gtk_range_size_request (GtkWidget *widget,
&stepper_spacing, NULL,
NULL, NULL);
- gtk_range_calc_request (range,
+ gtk_range_calc_request (range,
slider_width, stepper_size,
focus_width, trough_border, stepper_spacing,
&range_rect, &border, NULL, NULL, NULL, NULL);
@@ -1667,15 +1667,12 @@ static void
gtk_range_hierarchy_changed (GtkWidget *widget,
GtkWidget *previous_toplevel)
{
- GtkRange *range = GTK_RANGE (widget);
- GtkRangePrivate *priv = range->priv;
GtkWidget *window;
if (previous_toplevel)
g_signal_handlers_disconnect_by_func (previous_toplevel,
G_CALLBACK (resize_grip_visible_changed),
widget);
-
window = gtk_widget_get_toplevel (widget);
if (GTK_IS_WINDOW (window))
g_signal_connect (window, "notify::resize-grip-visible",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]