libgen.h no more used

fixed broken callbacks
This commit is contained in:
damdoum 2007-01-14 12:26:12 +00:00
parent ac5aa547c7
commit 0352f458ef
2 changed files with 9 additions and 4 deletions

View File

@ -26,6 +26,8 @@ static u16* base_addr[20];
static BOOL init=FALSE;
static void initialize() {
GtkComboBox * combo;
GtkTreeIter iter;
int i=0;
if (init) return;
@ -78,7 +80,10 @@ gboolean on_wtools_3_PalView_close (GtkWidget *widget, ...) {
}
gboolean on_wtools_3_draw_expose_event (GtkWidget *, GdkEventExpose *, gpointer );
void on_wtools_3_palette_changed (GtkComboBox *, gpointer );
void on_wtools_3_palnum_value_changed (GtkSpinButton *, gpointer );
gboolean on_wtools_3_draw_expose_event (GtkWidget * widget, GdkEventExpose *event, gpointer user_data) {
}
void on_wtools_3_palette_changed (GtkComboBox *combo, gpointer user_data) {
}
void on_wtools_3_palnum_value_changed (GtkSpinButton *spin, gpointer user_data) {
}

View File

@ -29,7 +29,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <libgen.h>
//#include <libgen.h>
#include <unistd.h>
#include <SDL/SDL.h>