X-Git-Url: http://git.tdb.fi/?p=ext%2Fsubsurface.git;a=blobdiff_plain;f=windows.c;h=29ef6122e50044a160640d22da81df053ebe22d9;hp=53531cd010cfa9609cb4c710164734ad05e0f983;hb=5487606fda75f133e26900aede1430b8929f8e18;hpb=1d51c7772996705fb69b2b3433cd94af3543583d diff --git a/windows.c b/windows.c index 53531cd..29ef612 100644 --- a/windows.c +++ b/windows.c @@ -73,10 +73,13 @@ const void *subsurface_get_conf(char *name, pref_type_t type) return NULL; } +void subsurface_flush_conf(void) +{ + /* this is a no-op */ +} + void subsurface_close_conf(void) { - if (RegFlushKey(hkey) != ERROR_SUCCESS) - printf("RegFlushKey failed \n"); RegCloseKey(hkey); } @@ -91,7 +94,7 @@ const char *subsurface_icon_name() } void subsurface_ui_setup(GtkSettings *settings, GtkWidget *menubar, - GtkWidget *vbox) + GtkWidget *vbox, GtkUIManager *ui_manager) { if (!divelist_font) divelist_font = DIVELIST_DEFAULT_FONT;