summaryrefslogtreecommitdiff
path: root/components/hardware
diff options
context:
space:
mode:
authorDarin Adler <darin@src.gnome.org>2001-11-09 02:05:53 +0000
committerDarin Adler <darin@src.gnome.org>2001-11-09 02:05:53 +0000
commit4a2255079a7276551867636b356b5bcbc0aec410 (patch)
tree69eb88b13b8b7b00ee7c45f23324f060643e218c /components/hardware
parentee16c763834e080df4649df8df8af7ec85903539 (diff)
downloadnautilus-4a2255079a7276551867636b356b5bcbc0aec410.tar.gz
Lots of files. Get rid a lot of unneeded casts.
* Lots of files. Get rid a lot of unneeded casts.
Diffstat (limited to 'components/hardware')
-rw-r--r--components/hardware/main.c2
-rw-r--r--components/hardware/nautilus-hardware-view.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/components/hardware/main.c b/components/hardware/main.c
index 7809e7529..61fd59eda 100644
--- a/components/hardware/main.c
+++ b/components/hardware/main.c
@@ -58,7 +58,7 @@ hardware_view_make_object (BonoboGenericFactory *factory,
object_count++;
- g_signal_connect (G_OBJECT (view), "destroy", hardware_view_object_destroyed, NULL);
+ g_signal_connect (view, "destroy", hardware_view_object_destroyed, NULL);
return BONOBO_OBJECT (view);
}
diff --git a/components/hardware/nautilus-hardware-view.c b/components/hardware/nautilus-hardware-view.c
index 9822b33bf..393397f2d 100644
--- a/components/hardware/nautilus-hardware-view.c
+++ b/components/hardware/nautilus-hardware-view.c
@@ -158,7 +158,7 @@ nautilus_hardware_view_init (NautilusHardwareView *hardware_view)
hardware_view->details->nautilus_view = nautilus_view_new (GTK_WIDGET (hardware_view));
- g_signal_connect (G_OBJECT (hardware_view->details->nautilus_view),
+ g_signal_connect (hardware_view->details->nautilus_view,
"load_location",
G_CALLBACK (hardware_view_load_location_callback),
hardware_view);