X-Git-Url: http://pileus.org/git/?p=grits;a=blobdiff_plain;f=src%2Faweather-gui.c;h=320a14d59de224a17a8a36c9de2d45c5981ea44e;hp=1dd85a5bbcb1f776c7af3bbdd556da5e85be7659;hb=93c853165104b5119e17be07e325f9097a5ebdb3;hpb=c17d694dcf9b73f7034e8100aeb0282ae2dc55cb;ds=sidebyside diff --git a/src/aweather-gui.c b/src/aweather-gui.c index 1dd85a5..320a14d 100644 --- a/src/aweather-gui.c +++ b/src/aweather-gui.c @@ -69,7 +69,7 @@ static gboolean map(GtkWidget *da, GdkEventConfigure *event, AWeatherGui *gui) /* Misc */ glEnable(GL_BLEND); glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); - glClearColor(0.8f, 0.8f, 1.0f, 0.0f); + glClearColor(0.0f, 0.0f, 0.0f, 0.0f); /* Tessellation, "finding intersecting triangles" */ /* http://research.microsoft.com/pubs/70307/tr-2006-81.pdf */ @@ -165,8 +165,10 @@ static void update_location_widget(AWeatherView *view, char *location, AWeatherG g_signal_handlers_block_by_func(combo, G_CALLBACK(on_site_changed), gui); gtk_combo_box_set_active_iter(combo, &iter2); g_signal_handlers_unblock_by_func(combo, G_CALLBACK(on_site_changed), gui); + g_free(text); return; } + g_free(text); } } }