[dia] more warnings
- From: Zander <zbrown src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dia] more warnings
- Date: Sun, 12 May 2019 14:36:05 +0000 (UTC)
commit ae8bc6cd85aa2014d2d041fe8dc1adb4824315cd
Author: Zander Brown <zbrown gnome org>
Date: Sat May 11 20:34:36 2019 +0100
more warnings
app/splash.c | 4 ++--
plug-ins/wmf/wmf.cpp | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/app/splash.c b/app/splash.c
index 41cc2cd2..ab936a96 100644
--- a/app/splash.c
+++ b/app/splash.c
@@ -52,8 +52,8 @@ app_splash_init (const gchar* fname)
gtk_widget_show_all (splash);
- signal_id = g_signal_connect_after(G_OBJECT(splash), "expose_event",
- G_CALLBACK(splash_expose), NULL);
+ signal_id = g_signal_connect_after (G_OBJECT (splash), "expose-event",
+ G_CALLBACK (splash_expose), NULL);
/* splash_expose gets us out of this */
gtk_main();
diff --git a/plug-ins/wmf/wmf.cpp b/plug-ins/wmf/wmf.cpp
index 15b24482..a6bac4f8 100644
--- a/plug-ins/wmf/wmf.cpp
+++ b/plug-ins/wmf/wmf.cpp
@@ -1304,7 +1304,7 @@ export_data(DiagramData *data, DiaContext *ctx,
W32::HDC file = NULL;
W32::HDC refDC;
Rectangle *extent;
- gint len;
+ // gint len;
double scale;
W32::RECT bbox;
@@ -1445,6 +1445,7 @@ export_data(DiagramData *data, DiaContext *ctx,
return TRUE;
}
+#ifdef G_OS_WIN32
static const gchar *wmf_extensions[] = { "wmf", NULL };
static DiaExportFilter wmf_export_filter = {
N_("Windows Metafile"),
@@ -1463,7 +1464,6 @@ static DiaExportFilter emf_export_filter = {
"emf"
};
-#ifdef G_OS_WIN32
static ObjectChange *
print_callback (DiagramData *data,
const gchar *filename,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]