mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Clean up code to remove false messages about errors in Eclipse
Imported the subsurface project into Eclipse to try and pull apart how it all works together. Added an include for profile.h and some brackets around a condition, but didn't make any functional changes (I hope). These 2 changes should be purely cosmetic. Signed-off-by: Benjamin Fogel <benjaminfogel@yahoo.co.uk> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
e5b18db802
commit
aa5365eb3f
2 changed files with 2 additions and 1 deletions
|
@ -34,6 +34,7 @@
|
|||
#include "display.h"
|
||||
#include "display-gtk.h"
|
||||
#include "webservice.h"
|
||||
#include "profile.h"
|
||||
|
||||
#include <gdk-pixbuf/gdk-pixdata.h>
|
||||
#include "satellite.h"
|
||||
|
|
2
gps.c
2
gps.c
|
@ -147,7 +147,7 @@ static void add_gps_point(OsmGpsMap *map, float latitude, float longitude)
|
|||
static void key_press_event(GtkWidget *window, GdkEventKey *event, gpointer data)
|
||||
{
|
||||
if ((event->string != NULL && event->keyval == GDK_Escape) ||
|
||||
(event->string != NULL && event->keyval == GDK_w && event->state & GDK_CONTROL_MASK)) {
|
||||
(event->string != NULL && event->keyval == GDK_w && (event->state & GDK_CONTROL_MASK))) {
|
||||
gtk_widget_destroy(window);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue