mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
Add g_return_if_fail.
* gtk/gtkdialog.c: (gtk_dialog_set_response_sensitive), (gtk_dialog_set_default_response): Add g_return_if_fail.
This commit is contained in:
parent
57479a86be
commit
966fc7ed0e
@ -1,3 +1,8 @@
|
||||
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):
|
||||
|
@ -1,3 +1,8 @@
|
||||
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):
|
||||
|
@ -1,3 +1,8 @@
|
||||
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):
|
||||
|
@ -1,3 +1,8 @@
|
||||
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):
|
||||
|
@ -1,3 +1,8 @@
|
||||
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):
|
||||
|
@ -1,3 +1,8 @@
|
||||
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):
|
||||
|
@ -1,3 +1,8 @@
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user