Removed the old unix/button.c.
This commit is contained in:
parent
96172d9b04
commit
cf4dd17bb4
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue