Update gtk136
This commit is contained in:
parent
a001c77284
commit
be99278186
|
@ -4,7 +4,8 @@
|
|||
*/
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
struct key{
|
||||
struct key
|
||||
{
|
||||
gint id;
|
||||
GtkWidget *button;
|
||||
};
|
||||
|
@ -23,6 +24,7 @@ static void button_clicked(GtkWidget *button, gpointer *user_data)
|
|||
gtk_entry_set_text(GTK_ENTRY(user_data[1]), string);
|
||||
g_free(string);
|
||||
}
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
gtk_init(&argc, &argv);
|
||||
|
|
Loading…
Reference in New Issue