Lines 20-25
Link Here
|
20 |
# include "config.h" |
20 |
# include "config.h" |
21 |
#endif |
21 |
#endif |
|
|
22 |
// This has to be included prior to anything that includes setjmp.h, it croaks otherwise |
23 |
#include <png.h> |
24 |
|
22 |
#include <gtk/gtk.h> |
25 |
#include <gtk/gtk.h> |
23 |
#include <gtkmm/box.h> |
26 |
#include <gtkmm/box.h> |
24 |
#include <gtkmm/buttonbox.h> |
27 |
#include <gtkmm/buttonbox.h> |
Lines 60-66
Link Here
|
60 |
#include "io/sys.h" |
63 |
#include "io/sys.h" |
61 |
#include "helper/png-write.h" |
64 |
#include "helper/png-write.h" |
62 |
#include <png.h> |
|
|
63 |
#define SP_EXPORT_MIN_SIZE 1.0 |
65 |
#define SP_EXPORT_MIN_SIZE 1.0 |
Lines 1041-1049
Link Here
|
1041 |
static gchar * |
1043 |
static gchar * |
1042 |
filename_add_extension (const gchar *filename, const gchar *extension) |
1044 |
filename_add_extension (const gchar *filename, const gchar *extension) |
1043 |
{ |
1045 |
{ |
1044 |
gchar *dot; |
1046 |
const gchar *dot = strrchr (filename, '.'); |
1045 |
|
|
|
1046 |
dot = strrchr (filename, '.'); |
1047 |
if ( !dot ) |
1047 |
if ( !dot ) |
1048 |
return g_strconcat (filename, ".", extension, NULL); |
1048 |
return g_strconcat (filename, ".", extension, NULL); |
1049 |
{ |
1049 |
{ |