mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
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:
parent
1a60d00ed9
commit
f20c585eba
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user