Commit 966fc7ed authored by Darin Adler's avatar Darin Adler

Add g_return_if_fail.

	* gtk/gtkdialog.c: (gtk_dialog_set_response_sensitive),
	(gtk_dialog_set_default_response): Add g_return_if_fail.
parent 57479a86
2001-11-07 Darin Adler <darin@bentspoon.com>
* gtk/gtkdialog.c: (gtk_dialog_set_response_sensitive),
(gtk_dialog_set_default_response): Add g_return_if_fail.
Mon Nov 5 22:34:29 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtktreednd.[ch] (struct _GtkTreeDragSourceIface):
......
2001-11-07 Darin Adler <darin@bentspoon.com>
* gtk/gtkdialog.c: (gtk_dialog_set_response_sensitive),
(gtk_dialog_set_default_response): Add g_return_if_fail.
Mon Nov 5 22:34:29 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtktreednd.[ch] (struct _GtkTreeDragSourceIface):
......
2001-11-07 Darin Adler <darin@bentspoon.com>
* gtk/gtkdialog.c: (gtk_dialog_set_response_sensitive),
(gtk_dialog_set_default_response): Add g_return_if_fail.
Mon Nov 5 22:34:29 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtktreednd.[ch] (struct _GtkTreeDragSourceIface):
......
2001-11-07 Darin Adler <darin@bentspoon.com>
* gtk/gtkdialog.c: (gtk_dialog_set_response_sensitive),
(gtk_dialog_set_default_response): Add g_return_if_fail.
Mon Nov 5 22:34:29 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtktreednd.[ch] (struct _GtkTreeDragSourceIface):
......
2001-11-07 Darin Adler <darin@bentspoon.com>
* gtk/gtkdialog.c: (gtk_dialog_set_response_sensitive),
(gtk_dialog_set_default_response): Add g_return_if_fail.
Mon Nov 5 22:34:29 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtktreednd.[ch] (struct _GtkTreeDragSourceIface):
......
2001-11-07 Darin Adler <darin@bentspoon.com>
* gtk/gtkdialog.c: (gtk_dialog_set_response_sensitive),
(gtk_dialog_set_default_response): Add g_return_if_fail.
Mon Nov 5 22:34:29 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtktreednd.[ch] (struct _GtkTreeDragSourceIface):
......
2001-11-07 Darin Adler <darin@bentspoon.com>
* gtk/gtkdialog.c: (gtk_dialog_set_response_sensitive),
(gtk_dialog_set_default_response): Add g_return_if_fail.
Mon Nov 5 22:34:29 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtktreednd.[ch] (struct _GtkTreeDragSourceIface):
......
......@@ -632,6 +632,8 @@ gtk_dialog_set_response_sensitive (GtkDialog *dialog,
GList *children;
GList *tmp_list;
g_return_if_fail (GTK_IS_DIALOG (dialog));
children = gtk_container_get_children (GTK_CONTAINER (dialog->action_area));
tmp_list = children;
......@@ -667,6 +669,8 @@ gtk_dialog_set_default_response (GtkDialog *dialog,
GList *children;
GList *tmp_list;
g_return_if_fail (GTK_IS_DIALOG (dialog));
children = gtk_container_get_children (GTK_CONTAINER (dialog->action_area));
tmp_list = children;
......
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