diff --git a/unix/button.c b/unix/button.c deleted file mode 100644 index 8e64d046..00000000 --- a/unix/button.c +++ /dev/null @@ -1,22 +0,0 @@ -// 7 april 2015 -#include "uipriv_unix.h" - -struct button { - uiButton b; - GtkWidget *widget; - GtkButton *button; - void (*onClicked)(uiButton *, void *); - void *onClickedData; -}; - -static void onClicked(GtkButton *button, gpointer data) -{ - struct button *b = (struct button *) data; - - (*(b->onClicked))(uiButton(b), b->onClickedData); -} - - - - -