]> git.sur5r.net Git - glabels/commitdiff
gl_wdgt_line_get_params(): Line width is double, not int!
authorJim Evins <evins@snaught.com>
Sun, 31 Aug 2003 01:42:47 +0000 (01:42 +0000)
committerJim Evins <evins@snaught.com>
Sun, 31 Aug 2003 01:42:47 +0000 (01:42 +0000)
git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@277 f5e0f49d-192f-0410-a22d-a8d8700d0965

glabels2/src/wdgt-line.c

index 3e7c047f64463b12dedac7227db1705e1a6ad516..8682c647db5287caf9107db6522783ed1c8b4f18 100644 (file)
@@ -220,8 +220,7 @@ gl_wdgt_line_get_params (glWdgtLine *line,
        guint8 r, g, b, a;
 
        *width =
-           gtk_spin_button_get_value_as_int (GTK_SPIN_BUTTON
-                                             (line->width_spin));
+           gtk_spin_button_get_value (GTK_SPIN_BUTTON(line->width_spin));
 
        gnome_color_picker_get_i8 (GNOME_COLOR_PICKER (line->color_picker),
                                   &r, &g, &b, &a);