summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: eef6aa8)
raw | patch | inline | side by side (parent: eef6aa8)
author | pjrm <pjrm@users.sourceforge.net> | |
Sun, 4 May 2008 12:24:43 +0000 (12:24 +0000) | ||
committer | pjrm <pjrm@users.sourceforge.net> | |
Sun, 4 May 2008 12:24:43 +0000 (12:24 +0000) |
src/dialogs/export.cpp | patch | blob | history |
diff --git a/src/dialogs/export.cpp b/src/dialogs/export.cpp
index 6f7bf251124ea4be3cbe3d312fd09d24652d086e..b79a4150f7b3b9b9c9efe30e2c90f7fb0de50c80 100644 (file)
--- a/src/dialogs/export.cpp
+++ b/src/dialogs/export.cpp
@@ -200,7 +200,7 @@ sp_export_dialog_delete ( GtkObject */*object*/, GdkEvent */*event*/, gpointer /
*/
static void
-sp_export_spinbutton_new ( gchar *key, float val, float min, float max,
+sp_export_spinbutton_new ( gchar const *key, float val, float min, float max,
float step, float page, GtkWidget *us,
GtkWidget *t, int x, int y,
const gchar *ll, const gchar *lr,
GCallback cb, GtkWidget *dlg )
{
GtkObject *a = gtk_adjustment_new (val, min, max, step, page, page);
- gtk_object_set_data (a, "key", key);
+ gtk_object_set_data (a, "key", const_cast<gchar *>(key));
gtk_object_set_data (GTK_OBJECT (dlg), (const gchar *)key, a);
if (us) {