Commit bc0d15ab authored by Matt Wilson's avatar Matt Wilson Committed by Matt Wilson

remove totally broken unused, non-compiling, static function.

2001-11-02  Matt Wilson  <msw@redhat.com>

	* gtk/gtkdialog.c (find_child_by_response_id): remove totally
	broken unused, non-compiling, static function.
parent 78fa1576
2001-11-02 Matt Wilson <msw@redhat.com>
* gtk/gtkdialog.c (find_child_by_response_id): remove totally
broken unused, non-compiling, static function.
Fri Nov 2 08:17:06 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdialog.c (gtk_dialog_set_response_sensitive):
......
2001-11-02 Matt Wilson <msw@redhat.com>
* gtk/gtkdialog.c (find_child_by_response_id): remove totally
broken unused, non-compiling, static function.
Fri Nov 2 08:17:06 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdialog.c (gtk_dialog_set_response_sensitive):
......
2001-11-02 Matt Wilson <msw@redhat.com>
* gtk/gtkdialog.c (find_child_by_response_id): remove totally
broken unused, non-compiling, static function.
Fri Nov 2 08:17:06 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdialog.c (gtk_dialog_set_response_sensitive):
......
2001-11-02 Matt Wilson <msw@redhat.com>
* gtk/gtkdialog.c (find_child_by_response_id): remove totally
broken unused, non-compiling, static function.
Fri Nov 2 08:17:06 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdialog.c (gtk_dialog_set_response_sensitive):
......
2001-11-02 Matt Wilson <msw@redhat.com>
* gtk/gtkdialog.c (find_child_by_response_id): remove totally
broken unused, non-compiling, static function.
Fri Nov 2 08:17:06 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdialog.c (gtk_dialog_set_response_sensitive):
......
2001-11-02 Matt Wilson <msw@redhat.com>
* gtk/gtkdialog.c (find_child_by_response_id): remove totally
broken unused, non-compiling, static function.
Fri Nov 2 08:17:06 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdialog.c (gtk_dialog_set_response_sensitive):
......
2001-11-02 Matt Wilson <msw@redhat.com>
* gtk/gtkdialog.c (find_child_by_response_id): remove totally
broken unused, non-compiling, static function.
Fri Nov 2 08:17:06 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdialog.c (gtk_dialog_set_response_sensitive):
......
......@@ -613,34 +613,6 @@ gtk_dialog_add_buttons (GtkDialog *dialog,
va_end (args);
}
static GtkWidget *
find_child_by_response_id (GtkDialog *dialog,
gint response id)
{
GList *children;
GList *tmp_list;
GtkWidget *result = NULL:
children = gtk_container_get_children (GTK_CONTAINER (dialog->action_area));
tmp_list = children;
while (tmp_list != NULL)
{
GtkWidget *widget = tmp_list->data;
ResponseData *rd = g_object_get_data (G_OBJECT (widget),
"gtk-dialog-response-data");
if (rd && rd->response_id == response_id)
{
result = widget;
gtk_widget_set_sensitive (widget, setting);
tmp_list = g_list_next (tmp_list);
}
g_list_free (children);
}
/**
* gtk_dialog_set_response_sensitive:
* @dialog: a #GtkDialog
......
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