[PATCH 3/8] wmcalendar: Rename kill() to widget_kill() to avoid conflict error.

Doug Torrance <[email protected]>
Newsgroups gmane.compw.window-managers.windowmaker.devel
Message-ID <[email protected]>
---
 wmcalendar/Src/calendar.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/wmcalendar/Src/calendar.c b/wmcalendar/Src/calendar.c
index fb16395..ae6d3ce 100644
--- a/wmcalendar/Src/calendar.c
+++ b/wmcalendar/Src/calendar.c
@@ -48,7 +48,7 @@ void move2(GtkWidget *widget, GdkEventMotion *event)
 
 
 
-void kill (GtkWidget * widget)
+void widget_kill (GtkWidget * widget)
 {
     gtk_widget_destroy ((GtkWidget*)gtk_widget_get_toplevel(widget));
     gtk_main_quit ();
@@ -193,7 +193,7 @@ void showDay(struct icaltimetype dt){
 	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) widget_kill, GTK_OBJECT(dayView));
 
 	gtk_widget_realize(dayView);
 	//	gtk_window_set_position(GTK_WINDOW (dayView),GTK_WIN_POS_CENTER_ON_PARENT);
-- 
2.7.4


-- 
To unsubscribe, send mail to [email protected].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.