blob: e11a8b1b98cf08b26830141f8f9efb975210f8df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- a/calendar.c
+++ b/calendar.c
@@ -48,7 +48,7 @@
-void kill (GtkWidget * widget)
+void close_app (GtkWidget * widget)
{
gtk_widget_destroy ((GtkWidget*)gtk_widget_get_toplevel(widget));
gtk_main_quit ();
@@ -193,7 +193,7 @@
gtk_signal_connect(GTK_OBJECT (event_box), "button_press_event",
GTK_SIGNAL_FUNC (move), NULL);
gtk_signal_connect(GTK_OBJECT (event_box2), "button_press_event",
- (GtkSignalFunc) kill, GTK_OBJECT(dayView));
+ (GtkSignalFunc) close_app, GTK_OBJECT(dayView));
gtk_widget_realize(dayView);
// gtk_window_set_position(GTK_WINDOW (dayView),GTK_WIN_POS_CENTER_ON_PARENT);
|