]> git.street.me.uk Git - andy/viking.git/commitdiff
Fix "incompatible pointer type" warnings.
authorQuy Tonthat <qtonthat@gmail.com>
Wed, 24 Oct 2007 07:47:41 +0000 (07:47 +0000)
committerQuy Tonthat <qtonthat@gmail.com>
Wed, 24 Oct 2007 07:47:41 +0000 (07:47 +0000)
Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
ChangeLog
src/viktrwlayer_propwin.c

index 077336746e2eb0e7fc9cf4b2fe45800b6807bd50..e79e6303ed2e205894d01fad6b9a2910352be4f7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-10-24
+Quy Tonthat <qtonthat@gmail.com>:
+       * Fix crashes on elev graph for some tracks.
+       * Make low alt tracks look more visible on elev graph.
+       * Fix "incompatible pointer type" warnings.
+
 2007-10-23
 Quy Tonthat <qtonthat@gmail.com>:
        * Missing declaration. Thanks to Bernd Zeimetz <bernd@bzed.de>
index be1739eff232bd48c3f849090656eb050107ab9c..4bdf3bcb82ba57dcd97c90163ec800404a9a77c6 100644 (file)
@@ -744,9 +744,9 @@ void vik_trw_layer_propwin_run ( GtkWindow *parent, VikTrwLayer *vtl, VikTrack *
   gtk_box_pack_start (GTK_BOX(GTK_DIALOG(dialog)->vbox), graphs, FALSE, FALSE, 0);
 
   if (seg_count <= 1)
-    gtk_dialog_set_response_sensitive(dialog, VIK_TRW_LAYER_PROPWIN_SPLIT, FALSE);
+    gtk_dialog_set_response_sensitive(GTK_DIALOG(dialog), VIK_TRW_LAYER_PROPWIN_SPLIT, FALSE);
   if (vik_track_get_dup_point_count(tr) <= 0)
-    gtk_dialog_set_response_sensitive(dialog, VIK_TRW_LAYER_PROPWIN_DEL_DUP, FALSE);
+    gtk_dialog_set_response_sensitive(GTK_DIALOG(dialog), VIK_TRW_LAYER_PROPWIN_DEL_DUP, FALSE);
 
   vik_track_set_property_dialog(tr, dialog);
   gtk_widget_show_all ( dialog );