Remove erroneous casts.
authorJohn Darrington <john@darrington.wattle.id.au>
Wed, 20 Feb 2008 23:20:00 +0000 (23:20 +0000)
committerJohn Darrington <john@darrington.wattle.id.au>
Wed, 20 Feb 2008 23:20:00 +0000 (23:20 +0000)
src/ui/gui/var-type-dialog.c

index 50ab417c14817c00905f00d705d63c1a5dbc0679..db2e85b5f792bc5b4c5ee96daed8891ae8b0de19 100644 (file)
@@ -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);