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:
Manish Singh 2002-01-30 23:35:08 +00:00 committed by Manish Singh
parent 53e7265067
commit 2cfa52b1ee
9 changed files with 57 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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);
}

View File

@ -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)