~foxtrotgps-team/foxtrotgps/trunk

« back to all changes in this revision

Viewing changes to src/callbacks.c

  • Committer: Paul Wise
  • Date: 2018-03-06 04:18:49 UTC
  • Revision ID: pabs3@bonedaddy.net-20180306041849-qdfdr73vuubyhb8s
Consistently use tabs for indentation and spaces for alignment

Only change it for files where this is already the case but
some parts of the files are using some other convention.

Show diffs side-by-side

added added

removed removed

Lines of Context:
365
365
                        wtfcounter++;
366
366
        }
367
367
 
368
 
  return FALSE;
 
368
        return FALSE;
369
369
}
370
370
 
371
371
 
574
574
                                        gpointer         user_data)
575
575
{
576
576
 
577
 
  return FALSE;
 
577
        return FALSE;
578
578
}
579
579
 
580
580
gboolean
583
583
                                        gpointer         user_data)
584
584
{
585
585
 
586
 
  return FALSE;
 
586
        return FALSE;
587
587
}
588
588
 
589
589
 
1839
1839
                                        GdkEvent        *event,
1840
1840
                                        gpointer         user_data)
1841
1841
{
1842
 
  gtk_widget_hide (widget);
1843
 
  return TRUE;
 
1842
        gtk_widget_hide (widget);
 
1843
        return TRUE;
1844
1844
}
1845
1845
 
1846
1846
 
2050
2050
                                        GdkEvent        *event,
2051
2051
                                        gpointer         user_data)
2052
2052
{
2053
 
  gtk_widget_hide_on_delete       (widget);
 
2053
        gtk_widget_hide_on_delete       (widget);
2054
2054
        distance_mode = FALSE;
2055
2055
        set_cursor(GDK_HAND2);
2056
2056
        repaint_all();
2057
 
  return TRUE;
 
2057
        return TRUE;
2058
2058
}
2059
2059
 
2060
2060
void
2078
2078
                                        GdkEvent        *event,
2079
2079
                                        gpointer         user_data)
2080
2080
{
2081
 
  gtk_widget_hide_on_delete       (widget);
2082
 
  return TRUE;
 
2081
        gtk_widget_hide_on_delete       (widget);
 
2082
        return TRUE;
2083
2083
}
2084
2084
 
2085
2085
void
2866
2866
 
2867
2867
        gtk_widget_destroy(window);
2868
2868
 
2869
 
  return FALSE;
 
2869
        return FALSE;
2870
2870
}
2871
2871
 
2872
2872
gboolean
2923
2923
                gtk_widget_set_sensitive (widget, FALSE);
2924
2924
                gtk_widget_set_tooltip_text
2925
2925
                        (widget, _("gpscorrelate is necessary for this feature "
2926
 
                                   "but does not appear to be installed."));
 
2926
                                   "but does not appear to be installed."));
2927
2927
        } else {
2928
2928
                gtk_widget_set_sensitive (widget, TRUE);
2929
2929
                gtk_widget_set_tooltip_text (widget, NULL);
3083
3083
{
3084
3084
        geo_photo_close_dialog_image_data();
3085
3085
 
3086
 
  return TRUE;
 
3086
        return TRUE;
3087
3087
}
3088
3088
 
3089
3089
gboolean
3184
3184
        lon = pixel2lon(global_zoom, global_x+mouse_x);
3185
3185
 
3186
3186
        set_current_wp(lat, lon);
3187
 
  return FALSE;
 
3187
        return FALSE;
3188
3188
}
3189
3189
 
3190
3190
gboolean
3261
3261
{
3262
3262
        global_wp_on = FALSE;
3263
3263
        repaint_all();
3264
 
  return FALSE;
 
3264
        return FALSE;
3265
3265
}
3266
3266
 
3267
3267