diff options
author | Ramiro Estrugo <ramiro@src.gnome.org> | 2001-04-30 11:39:30 +0000 |
---|---|---|
committer | Ramiro Estrugo <ramiro@src.gnome.org> | 2001-04-30 11:39:30 +0000 |
commit | 1260bbb9a4303777f541eecd0ccc6172debea663 (patch) | |
tree | 589b7fdc5c266bfc319611985021d4b9118749c0 /test/test.c | |
parent | e3de11277ea1ccdefd111b741574ba9ee2b7e733 (diff) | |
download | nautilus-1260bbb9a4303777f541eecd0ccc6172debea663.tar.gz |
Change parameters for functions that accept and return ArtIRect,
* components/news/nautilus-news.c:
* libnautilus-extensions/nautilus-icon-canvas-item.c:
* libnautilus-extensions/nautilus-icon-canvas-item.h:
* libnautilus-extensions/nautilus-icon-container.c:
* libnautilus-extensions/nautilus-icon-dnd.c:
* libnautilus-extensions/nautilus-icon-factory.c:
* src/file-manager/fm-list-view.c:
* src/nautilus-about.c:
* test/test.c:
Change parameters for functions that accept and return ArtIRect,
EelArtIPoint, ArtDRect, EelDimensions to pass by value instead of
by pointer.
Diffstat (limited to 'test/test.c')
-rw-r--r-- | test/test.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/test/test.c b/test/test.c index a62ca4d41..7675fba75 100644 --- a/test/test.c +++ b/test/test.c @@ -220,7 +220,7 @@ test_label_new (const char *text, /* Preferences hacks */ void test_text_caption_set_text_for_int_preferences (EelTextCaption *text_caption, - const char *name) + const char *name) { int int_value; char *text; @@ -340,7 +340,7 @@ test_pixbuf_draw_rectangle_tiled (GdkPixbuf *pixbuf, if (x0 == -1 && y0 == -1 && x1 == -1 && y1 == -1) { EelDimensions dimensions; dimensions = eel_gdk_pixbuf_get_dimensions (pixbuf); - area = eel_art_irect_assign_dimensions (0, 0, &dimensions); + area = eel_art_irect_assign_dimensions (0, 0, dimensions); } else { g_return_if_fail (x0 >= 0); g_return_if_fail (y0 >= 0); @@ -354,14 +354,14 @@ test_pixbuf_draw_rectangle_tiled (GdkPixbuf *pixbuf, } eel_gdk_pixbuf_draw_to_pixbuf_tiled (tile_pixbuf, - pixbuf, - &area, - gdk_pixbuf_get_width (tile_pixbuf), - gdk_pixbuf_get_height (tile_pixbuf), - 0, - 0, - opacity, - GDK_INTERP_NEAREST); + pixbuf, + area, + gdk_pixbuf_get_width (tile_pixbuf), + gdk_pixbuf_get_height (tile_pixbuf), + 0, + 0, + opacity, + GDK_INTERP_NEAREST); gdk_pixbuf_unref (tile_pixbuf); } |