mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-12 05:20:17 +00:00
remove unused variable.
2002-01-30 Manish Singh <yosh@gimp.org> * gtk/gtkhandlebox.c (gtk_handle_box_destroy): remove unused variable. * gtk/gtkwindow.c (gtk_window_get_icon): function returns a value, so return NULL with g_return_val_if_fail instead of g_return_if_fail.
This commit is contained in:
parent
53e7265067
commit
2cfa52b1ee
@ -1,3 +1,11 @@
|
||||
2002-01-30 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gtk/gtkhandlebox.c (gtk_handle_box_destroy): remove unused
|
||||
variable.
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_get_icon): function returns a value,
|
||||
so return NULL with g_return_val_if_fail instead of g_return_if_fail.
|
||||
|
||||
2002-01-30 Matthias Clasen <matthiasc@poet.de>
|
||||
|
||||
* gtk/*.c: Remove excess g_return_if_fail calls from static
|
||||
|
@ -1,3 +1,11 @@
|
||||
2002-01-30 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gtk/gtkhandlebox.c (gtk_handle_box_destroy): remove unused
|
||||
variable.
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_get_icon): function returns a value,
|
||||
so return NULL with g_return_val_if_fail instead of g_return_if_fail.
|
||||
|
||||
2002-01-30 Matthias Clasen <matthiasc@poet.de>
|
||||
|
||||
* gtk/*.c: Remove excess g_return_if_fail calls from static
|
||||
|
@ -1,3 +1,11 @@
|
||||
2002-01-30 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gtk/gtkhandlebox.c (gtk_handle_box_destroy): remove unused
|
||||
variable.
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_get_icon): function returns a value,
|
||||
so return NULL with g_return_val_if_fail instead of g_return_if_fail.
|
||||
|
||||
2002-01-30 Matthias Clasen <matthiasc@poet.de>
|
||||
|
||||
* gtk/*.c: Remove excess g_return_if_fail calls from static
|
||||
|
@ -1,3 +1,11 @@
|
||||
2002-01-30 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gtk/gtkhandlebox.c (gtk_handle_box_destroy): remove unused
|
||||
variable.
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_get_icon): function returns a value,
|
||||
so return NULL with g_return_val_if_fail instead of g_return_if_fail.
|
||||
|
||||
2002-01-30 Matthias Clasen <matthiasc@poet.de>
|
||||
|
||||
* gtk/*.c: Remove excess g_return_if_fail calls from static
|
||||
|
@ -1,3 +1,11 @@
|
||||
2002-01-30 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gtk/gtkhandlebox.c (gtk_handle_box_destroy): remove unused
|
||||
variable.
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_get_icon): function returns a value,
|
||||
so return NULL with g_return_val_if_fail instead of g_return_if_fail.
|
||||
|
||||
2002-01-30 Matthias Clasen <matthiasc@poet.de>
|
||||
|
||||
* gtk/*.c: Remove excess g_return_if_fail calls from static
|
||||
|
@ -1,3 +1,11 @@
|
||||
2002-01-30 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gtk/gtkhandlebox.c (gtk_handle_box_destroy): remove unused
|
||||
variable.
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_get_icon): function returns a value,
|
||||
so return NULL with g_return_val_if_fail instead of g_return_if_fail.
|
||||
|
||||
2002-01-30 Matthias Clasen <matthiasc@poet.de>
|
||||
|
||||
* gtk/*.c: Remove excess g_return_if_fail calls from static
|
||||
|
@ -1,3 +1,11 @@
|
||||
2002-01-30 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gtk/gtkhandlebox.c (gtk_handle_box_destroy): remove unused
|
||||
variable.
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_get_icon): function returns a value,
|
||||
so return NULL with g_return_val_if_fail instead of g_return_if_fail.
|
||||
|
||||
2002-01-30 Matthias Clasen <matthiasc@poet.de>
|
||||
|
||||
* gtk/*.c: Remove excess g_return_if_fail calls from static
|
||||
|
@ -328,8 +328,6 @@ gtk_handle_box_new (void)
|
||||
static void
|
||||
gtk_handle_box_destroy (GtkObject *object)
|
||||
{
|
||||
GtkHandleBox *hb = GTK_HANDLE_BOX (object);
|
||||
|
||||
if (GTK_OBJECT_CLASS (parent_class)->destroy)
|
||||
(* GTK_OBJECT_CLASS (parent_class)->destroy) (object);
|
||||
}
|
||||
|
@ -2251,7 +2251,7 @@ gtk_window_get_icon (GtkWindow *window)
|
||||
{
|
||||
GtkWindowIconInfo *info;
|
||||
|
||||
g_return_if_fail (GTK_IS_WINDOW (window));
|
||||
g_return_val_if_fail (GTK_IS_WINDOW (window), NULL);
|
||||
|
||||
info = get_icon_info (window);
|
||||
if (info && info->icon_list)
|
||||
|
Loading…
Reference in New Issue
Block a user