mirror of
https://github.com/cclassic/model-ghdl
synced 2024-11-21 08:25:05 +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;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void okay( GtkWidget *widget,
|
static void okay(GtkWidget *widget, gpointer data)
|
||||||
gpointer data )
|
|
||||||
{
|
{
|
||||||
//g_print ("TEXT = %s\n", gtk_entry_get_text(GTK_ENTRY(data)));
|
//g_print ("TEXT = %s\n", gtk_entry_get_text(GTK_ENTRY(data)));
|
||||||
gtk_main_quit();
|
gtk_main_quit();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void cancel( GtkWidget *widget,
|
static void cancel(GtkWidget *widget, gpointer data)
|
||||||
gpointer data )
|
|
||||||
{
|
{
|
||||||
gtk_entry_set_text(GTK_ENTRY(data), "");
|
gtk_entry_set_text(GTK_ENTRY(data), "");
|
||||||
gtk_main_quit();
|
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);
|
int showMessage(int message_type, char *text, char *defaultText, char **reply);
|
||||||
|
|
||||||
// Slots
|
// Slots
|
||||||
static void okay( GtkWidget *widget, gpointer data );
|
static void okay(GtkWidget *widget, gpointer data);
|
||||||
static void cancel ( GtkWidget *widget, gpointer data );
|
static void cancel(GtkWidget *widget, gpointer data);
|
||||||
|
|
||||||
#endif // GUI_H
|
#endif // GUI_H
|
||||||
|
Loading…
Reference in New Issue
Block a user