1
0
mirror of https://github.com/cclassic/model-ghdl synced 2024-11-29 09:13:28 +01:00

Refactor indentation

This commit is contained in:
Markus 2018-01-21 14:11:41 +01:00
parent bccb210a8f
commit 55105018aa
3 changed files with 498 additions and 500 deletions

6
gui.c
View File

@ -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
View File

@ -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