mirror of
https://github.com/cclassic/model-ghdl
synced 2024-11-29 09:13:28 +01:00
Refactor indentation
This commit is contained in:
parent
bccb210a8f
commit
55105018aa
6
gui.c
6
gui.c
@ -88,15 +88,13 @@ int showMessage(int message_type, char *text, char *defaultText, char **reply) {
|
||||
return ret;
|
||||
}
|
||||
|
||||
static void okay( GtkWidget *widget,
|
||||
gpointer data )
|
||||
static void okay(GtkWidget *widget, gpointer data)
|
||||
{
|
||||
//g_print ("TEXT = %s\n", gtk_entry_get_text(GTK_ENTRY(data)));
|
||||
gtk_main_quit();
|
||||
}
|
||||
|
||||
static void cancel( GtkWidget *widget,
|
||||
gpointer data )
|
||||
static void cancel(GtkWidget *widget, gpointer data)
|
||||
{
|
||||
gtk_entry_set_text(GTK_ENTRY(data), "");
|
||||
gtk_main_quit();
|
||||
|
4
gui.h
4
gui.h
@ -13,7 +13,7 @@ int gui_init(int *argc, char ***argv);
|
||||
int showMessage(int message_type, char *text, char *defaultText, char **reply);
|
||||
|
||||
// Slots
|
||||
static void okay( GtkWidget *widget, gpointer data );
|
||||
static void cancel ( GtkWidget *widget, gpointer data );
|
||||
static void okay(GtkWidget *widget, gpointer data);
|
||||
static void cancel(GtkWidget *widget, gpointer data);
|
||||
|
||||
#endif // GUI_H
|
||||
|
Loading…
Reference in New Issue
Block a user