[gtk+] frame: Remove a couple strange casts...
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] frame: Remove a couple strange casts...
- Date: Fri, 1 Nov 2013 18:16:35 +0000 (UTC)
commit 08053cbbb86c9ded2bddee843e502ae5146997f1
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Fri Nov 1 14:12:37 2013 -0400
frame: Remove a couple strange casts...
gtk/gtkframe.c | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/gtk/gtkframe.c b/gtk/gtkframe.c
index dbb93b3..b4b5dd2 100644
--- a/gtk/gtkframe.c
+++ b/gtk/gtkframe.c
@@ -851,15 +851,14 @@ gtk_frame_real_compute_child_allocation (GtkFrame *frame,
}
static void
-gtk_frame_get_preferred_size (GtkWidget *request,
+gtk_frame_get_preferred_size (GtkWidget *widget,
GtkOrientation orientation,
gint *minimum_size,
gint *natural_size)
{
- GtkFrame *frame = GTK_FRAME (request);
+ GtkFrame *frame = GTK_FRAME (widget);
GtkFramePrivate *priv = frame->priv;
GtkBorder padding;
- GtkWidget *widget = GTK_WIDGET (request);
GtkWidget *child;
GtkBin *bin = GTK_BIN (widget);
gint child_min, child_nat;
@@ -947,12 +946,11 @@ gtk_frame_get_preferred_height (GtkWidget *widget,
static void
-gtk_frame_get_preferred_height_for_width (GtkWidget *request,
+gtk_frame_get_preferred_height_for_width (GtkWidget *widget,
gint width,
gint *minimum_height,
gint *natural_height)
{
- GtkWidget *widget = GTK_WIDGET (request);
GtkWidget *child;
GtkFrame *frame = GTK_FRAME (widget);
GtkFramePrivate *priv = frame->priv;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]