Commit 2cfa52b1 authored by Manish Singh's avatar Manish Singh Committed by Manish Singh

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.
parent 53e72650
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
......
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
......
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
......
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
......
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
......
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
......
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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment