From: John Darrington Date: Wed, 20 Feb 2008 23:20:00 +0000 (+0000) Subject: Remove erroneous casts. X-Git-Tag: v0.6.0~101 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06e6e50200bcf8d954dcda70b9c48c326eaec4a3;p=pspp-builds.git Remove erroneous casts. --- diff --git a/src/ui/gui/var-type-dialog.c b/src/ui/gui/var-type-dialog.c index 50ab417c..db2e85b5 100644 --- a/src/ui/gui/var-type-dialog.c +++ b/src/ui/gui/var-type-dialog.c @@ -445,7 +445,7 @@ var_type_dialog_create (GladeXML *xml) g_object_unref (list_store); - g_signal_connect (GTK_OBJECT (dialog->date_format_treeview), "cursor-changed", + g_signal_connect (dialog->date_format_treeview, "cursor-changed", GTK_SIGNAL_FUNC (set_format_from_treeview), dialog); @@ -482,11 +482,11 @@ var_type_dialog_create (GladeXML *xml) g_object_unref (list_store); - g_signal_connect (GTK_OBJECT (dialog->dollar_treeview), + g_signal_connect (dialog->dollar_treeview, "cursor-changed", GTK_SIGNAL_FUNC (set_format_from_treeview), dialog); - g_signal_connect_swapped (GTK_OBJECT (dialog->dollar_treeview), + g_signal_connect_swapped (dialog->dollar_treeview, "cursor-changed", GTK_SIGNAL_FUNC (update_width_decimals), dialog); @@ -526,22 +526,22 @@ var_type_dialog_create (GladeXML *xml) g_object_unref (list_store); - g_signal_connect (GTK_OBJECT (dialog->custom_treeview), + g_signal_connect (dialog->custom_treeview, "cursor-changed", GTK_SIGNAL_FUNC (set_format_type_from_treeview), dialog); - g_signal_connect (GTK_OBJECT (dialog->custom_treeview), + g_signal_connect (dialog->custom_treeview, "cursor-changed", GTK_SIGNAL_FUNC (preview_custom), dialog); - g_signal_connect (GTK_OBJECT (dialog->entry_width), + g_signal_connect (dialog->entry_width, "changed", GTK_SIGNAL_FUNC (preview_custom), dialog); - g_signal_connect (GTK_OBJECT (dialog->entry_decimals), + g_signal_connect (dialog->entry_decimals, "changed", GTK_SIGNAL_FUNC (preview_custom), dialog);