removed unused return value.

2002-01-27  Sven Neumann  <sven@gimp.org>

	* gtk/gtkstyle.c (sanitize_size): removed unused return value.
This commit is contained in:
Sven Neumann 2002-01-27 16:39:29 +00:00 committed by Sven Neumann
parent 1a60d00ed9
commit f20c585eba
8 changed files with 30 additions and 9 deletions

View File

@ -1,3 +1,7 @@
2002-01-27 Sven Neumann <sven@gimp.org>
* gtk/gtkstyle.c (sanitize_size): removed unused return value.
Sat Jan 26 19:27:23 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtksocket.c (gtk_socket_grab_notify): Don't

View File

@ -1,3 +1,7 @@
2002-01-27 Sven Neumann <sven@gimp.org>
* gtk/gtkstyle.c (sanitize_size): removed unused return value.
Sat Jan 26 19:27:23 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtksocket.c (gtk_socket_grab_notify): Don't

View File

@ -1,3 +1,7 @@
2002-01-27 Sven Neumann <sven@gimp.org>
* gtk/gtkstyle.c (sanitize_size): removed unused return value.
Sat Jan 26 19:27:23 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtksocket.c (gtk_socket_grab_notify): Don't

View File

@ -1,3 +1,7 @@
2002-01-27 Sven Neumann <sven@gimp.org>
* gtk/gtkstyle.c (sanitize_size): removed unused return value.
Sat Jan 26 19:27:23 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtksocket.c (gtk_socket_grab_notify): Don't

View File

@ -1,3 +1,7 @@
2002-01-27 Sven Neumann <sven@gimp.org>
* gtk/gtkstyle.c (sanitize_size): removed unused return value.
Sat Jan 26 19:27:23 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtksocket.c (gtk_socket_grab_notify): Don't

View File

@ -1,3 +1,7 @@
2002-01-27 Sven Neumann <sven@gimp.org>
* gtk/gtkstyle.c (sanitize_size): removed unused return value.
Sat Jan 26 19:27:23 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtksocket.c (gtk_socket_grab_notify): Don't

View File

@ -1,3 +1,7 @@
2002-01-27 Sven Neumann <sven@gimp.org>
* gtk/gtkstyle.c (sanitize_size): removed unused return value.
Sat Jan 26 19:27:23 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtksocket.c (gtk_socket_grab_notify): Don't

View File

@ -1945,24 +1945,17 @@ gtk_default_render_icon (GtkStyle *style,
return stated;
}
static gboolean
static void
sanitize_size (GdkWindow *window,
gint *width,
gint *height)
{
gboolean set_bg = FALSE;
if ((*width == -1) && (*height == -1))
{
set_bg = GDK_IS_WINDOW (window);
gdk_window_get_size (window, width, height);
}
gdk_window_get_size (window, width, height);
else if (*width == -1)
gdk_window_get_size (window, width, NULL);
else if (*height == -1)
gdk_window_get_size (window, NULL, height);
return set_bg;
}
static void