Revision: 728 Author: ntrel Date: 2006-08-17 07:38:57 -0700 (Thu, 17 Aug 2006) ViewCVS: http://svn.sourceforge.net/geany/?rev=728&view=rev
Log Message: ----------- Move signal_cb to main.c
Modified Paths: -------------- trunk/src/callbacks.c trunk/src/callbacks.h Modified: trunk/src/callbacks.c =================================================================== --- trunk/src/callbacks.c 2006-08-15 21:00:43 UTC (rev 727) +++ trunk/src/callbacks.c 2006-08-17 14:38:57 UTC (rev 728) @@ -26,7 +26,6 @@ #include <stdlib.h> #include <unistd.h> #include <string.h> -#include <signal.h> #include <gdk/gdkkeysyms.h>
#include "callbacks.h" @@ -79,15 +78,6 @@ static gint clickpos;
-void signal_cb(gint sig) -{ - if (sig == SIGTERM) - { - on_exit_clicked(NULL, NULL); - } -} - - // real exit function gint destroyapp(GtkWidget *widget, gpointer gdata) {
Modified: trunk/src/callbacks.h =================================================================== --- trunk/src/callbacks.h 2006-08-15 21:00:43 UTC (rev 727) +++ trunk/src/callbacks.h 2006-08-17 14:38:57 UTC (rev 728) @@ -22,9 +22,6 @@
extern gchar current_word[]; //needed for popup menu keybindings access
-void -signal_cb (gint sig); - gint destroyapp (GtkWidget *widget, gpointer gdata);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.