diff options
| author | Campbell Barton <ideasman42@gmail.com> | 2012-10-04 01:45:44 +0000 |
|---|---|---|
| committer | Campbell Barton <ideasman42@gmail.com> | 2012-10-04 01:45:44 +0000 |
| commit | 370a3f5cc9e39352a081e5d5dd8c43676547a6e6 (patch) | |
| tree | 3e7b18853b1902c189a5d1972db490c561b0b538 /src/sp-image.cpp | |
| parent | extensions. Extrude. allow selection of multiple objects (Bug 1055155) (diff) | |
| download | inkscape-370a3f5cc9e39352a081e5d5dd8c43676547a6e6.tar.gz inkscape-370a3f5cc9e39352a081e5d5dd8c43676547a6e6.zip | |
code cleanup: add own includes to cpp files or make the functions static if they are not used elsewhere.
(bzr r11735)
Diffstat (limited to 'src/sp-image.cpp')
| -rw-r--r-- | src/sp-image.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sp-image.cpp b/src/sp-image.cpp index 07885ff4d..aa16bcdd4 100644 --- a/src/sp-image.cpp +++ b/src/sp-image.cpp @@ -234,7 +234,7 @@ private: PushPull(const PushPull& other); }; -void user_read_data( png_structp png_ptr, png_bytep data, png_size_t length ) +static void user_read_data( png_structp png_ptr, png_bytep data, png_size_t length ) { // g_message( "user_read_data(%d)", length ); @@ -255,12 +255,12 @@ void user_read_data( png_structp png_ptr, png_bytep data, png_size_t length ) // g_message("things out"); } -void user_write_data( png_structp /*png_ptr*/, png_bytep /*data*/, png_size_t /*length*/ ) +static void user_write_data( png_structp /*png_ptr*/, png_bytep /*data*/, png_size_t /*length*/ ) { //g_message( "user_write_data(%d)", length ); } -void user_flush_data( png_structp /*png_ptr*/ ) +static void user_flush_data( png_structp /*png_ptr*/ ) { //g_message( "user_flush_data" ); } @@ -424,7 +424,7 @@ static bool readPngAndHeaders( PushPull &youme, gint & dpiX, gint & dpiY ) return good; } -static GdkPixbuf* pixbuf_new_from_file( const char *filename, time_t &modTime, gchar*& pixPath, GError **/*error*/ ) +GdkPixbuf* pixbuf_new_from_file( const char *filename, time_t &modTime, gchar*& pixPath, GError **/*error*/ ) { GdkPixbuf* buf = NULL; PushPull youme; |
