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>
|
Sat Jan 26 19:27:23 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gtk/gtksocket.c (gtk_socket_grab_notify): Don't
|
* 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>
|
Sat Jan 26 19:27:23 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gtk/gtksocket.c (gtk_socket_grab_notify): Don't
|
* 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>
|
Sat Jan 26 19:27:23 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gtk/gtksocket.c (gtk_socket_grab_notify): Don't
|
* 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>
|
Sat Jan 26 19:27:23 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gtk/gtksocket.c (gtk_socket_grab_notify): Don't
|
* 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>
|
Sat Jan 26 19:27:23 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gtk/gtksocket.c (gtk_socket_grab_notify): Don't
|
* 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>
|
Sat Jan 26 19:27:23 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gtk/gtksocket.c (gtk_socket_grab_notify): Don't
|
* 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>
|
Sat Jan 26 19:27:23 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gtk/gtksocket.c (gtk_socket_grab_notify): Don't
|
* gtk/gtksocket.c (gtk_socket_grab_notify): Don't
|
||||||
|
@ -1945,24 +1945,17 @@ gtk_default_render_icon (GtkStyle *style,
|
|||||||
return stated;
|
return stated;
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static void
|
||||||
sanitize_size (GdkWindow *window,
|
sanitize_size (GdkWindow *window,
|
||||||
gint *width,
|
gint *width,
|
||||||
gint *height)
|
gint *height)
|
||||||
{
|
{
|
||||||
gboolean set_bg = FALSE;
|
|
||||||
|
|
||||||
if ((*width == -1) && (*height == -1))
|
if ((*width == -1) && (*height == -1))
|
||||||
{
|
gdk_window_get_size (window, width, height);
|
||||||
set_bg = GDK_IS_WINDOW (window);
|
|
||||||
gdk_window_get_size (window, width, height);
|
|
||||||
}
|
|
||||||
else if (*width == -1)
|
else if (*width == -1)
|
||||||
gdk_window_get_size (window, width, NULL);
|
gdk_window_get_size (window, width, NULL);
|
||||||
else if (*height == -1)
|
else if (*height == -1)
|
||||||
gdk_window_get_size (window, NULL, height);
|
gdk_window_get_size (window, NULL, height);
|
||||||
|
|
||||||
return set_bg;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user