From 54b45a19b92629605abdcc6d14c1b1c3a1e941af Mon Sep 17 00:00:00 2001 From: Manish Singh Date: Fri, 19 Nov 2004 23:30:47 +0000 Subject: modules/engines/ms-windows/msw_rc_style.c Fri Nov 19 15:18:51 2004 Manish Singh * modules/engines/ms-windows/msw_rc_style.c * modules/engines/ms-windows/msw_style.c * modules/engines/ms-windows/msw_theme_main.c * modules/engines/pixbuf/pixbuf-main.c * modules/engines/pixbuf/pixbuf-rc-style.c * modules/input/gtkimcontextime.c * modules/input/gtkimcontextxim.c * modules/input/imam-et.c * modules/input/imcedilla.c * modules/input/imcyrillic-translit.c * modules/input/iminuktitut.c * modules/input/imipa.c * modules/input/imthai-broken.c * modules/input/imti-er.c * modules/input/imti-et.c * modules/input/imviqr.c * tests/prop-editor.c * tests/testentrycompletion.c * tests/testfilechooser.c * tests/testmerge.c * tests/testtoolbar.c * tests/testtreecolumns.c * tests/testtreeview.c: get rid of unnecessary casts. * tests/testgtk.c (create_labels): add GTK_LABEL() casts for gtk_label_set_ellipsize() calls. * tests/testicontheme.c (main): remove unused pixbuf variable. --- tests/testfilechooser.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/testfilechooser.c') diff --git a/tests/testfilechooser.c b/tests/testfilechooser.c index 7910c61a8f..01089b24c7 100644 --- a/tests/testfilechooser.c +++ b/tests/testfilechooser.c @@ -216,7 +216,7 @@ my_new_from_file_at_size (const char *filename, if (!gdk_pixbuf_loader_write (loader, buffer, length, error)) { gdk_pixbuf_loader_close (loader, NULL); fclose (f); - g_object_unref (G_OBJECT (loader)); + g_object_unref (loader); return NULL; } } @@ -225,14 +225,14 @@ my_new_from_file_at_size (const char *filename, g_assert (*error == NULL); if (!gdk_pixbuf_loader_close (loader, error)) { - g_object_unref (G_OBJECT (loader)); + g_object_unref (loader); return NULL; } pixbuf = gdk_pixbuf_loader_get_pixbuf (loader); if (!pixbuf) { - g_object_unref (G_OBJECT (loader)); + g_object_unref (loader); /* did the loader set an error? */ if (*error != NULL) @@ -248,7 +248,7 @@ my_new_from_file_at_size (const char *filename, g_object_ref (pixbuf); - g_object_unref (G_OBJECT (loader)); + g_object_unref (loader); return pixbuf; } @@ -572,7 +572,7 @@ main (int argc, char **argv) gtk_widget_show_all (control_window); g_object_ref (control_window); - g_signal_connect (G_OBJECT (dialog), "destroy", + g_signal_connect (dialog, "destroy", G_CALLBACK (kill_dependent), control_window); /* We need to hold a ref until we have destroyed the widgets, just in case -- cgit v1.2.1