projects
/
emu8051.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ba7ff1a
)
Remove superfluous function WindowDestroyEvent
author
Hugo Villeneuve
<hugo@hugovil.com>
Sat, 5 Oct 2013 16:45:29 +0000
(12:45 -0400)
committer
Hugo Villeneuve
<hugo@hugovil.com>
Thu, 10 Oct 2013 01:07:22 +0000
(21:07 -0400)
src/emugtk.c
patch
|
blob
|
history
diff --git
a/src/emugtk.c
b/src/emugtk.c
index
7742788
..
6eff607
100644
(file)
--- a/
src/emugtk.c
+++ b/
src/emugtk.c
@@
-53,17
+53,6
@@
static GtkWidget *mainwin;
extern struct app_config_t *cfg;
extern struct app_config_t *cfg;
-/* Signal DestroyEvent */
-static void
-WindowDestroyEvent(GtkWidget *widget, gpointer data)
-{
-#ifdef EMU8051_DEBUG
- g_print("emugtk_DestroyEvent(...)\n");
-#endif
-
- gtk_main_quit();
-}
-
/* Step out of running state */
static void
emugtk_stop_running()
/* Step out of running state */
static void
emugtk_stop_running()
@@
-349,7
+338,7
@@
emugtk_window_init(void)
/* Window DESTROY event. */
g_signal_connect(mainwin, "destroy",
/* Window DESTROY event. */
g_signal_connect(mainwin, "destroy",
- G_CALLBACK(
WindowDestroyEven
t), NULL);
+ G_CALLBACK(
gtk_main_qui
t), NULL);
g_signal_connect(G_OBJECT(mainwin), "configure-event",
G_CALLBACK(mainwin_configure_event), NULL);
g_signal_connect(G_OBJECT(mainwin), "configure-event",
G_CALLBACK(mainwin_configure_event), NULL);