changeset 278:04abf5b160eb

exit_gqview() renamed to exit_program(). exit_gqview_final() renamed to exit_program_final().
author zas_
date Tue, 08 Apr 2008 22:16:56 +0000
parents 9de0f88b2b91
children 5cd386db1e6c
files src/gqview.h src/layout.c src/layout_image.c src/layout_util.c src/main.c
diffstat 5 files changed, 9 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/src/gqview.h	Tue Apr 08 22:05:04 2008 +0000
+++ b/src/gqview.h	Tue Apr 08 22:16:56 2008 +0000
@@ -247,7 +247,7 @@
 
 void keyboard_scroll_calc(gint *x, gint *y, GdkEventKey *event);
 gint key_press_cb(GtkWidget *widget, GdkEventKey *event, gpointer data);
-void exit_gqview(void);
+void exit_program(void);
 
 
 #endif
--- a/src/layout.c	Tue Apr 08 22:05:04 2008 +0000
+++ b/src/layout.c	Tue Apr 08 22:16:56 2008 +0000
@@ -1833,7 +1833,7 @@
 		}
 	else
 		{
-		exit_gqview();
+		exit_program();
 		}
 }
 
--- a/src/layout_image.c	Tue Apr 08 22:05:04 2008 +0000
+++ b/src/layout_image.c	Tue Apr 08 22:16:56 2008 +0000
@@ -184,7 +184,7 @@
 				info_window_new(layout_image_get_fd(lw), NULL);
 				break;
 			case 'Q': case 'q':
-				exit_gqview();
+				exit_program();
 				return FALSE;
 				break;
 			default:
--- a/src/layout_util.c	Tue Apr 08 22:05:04 2008 +0000
+++ b/src/layout_util.c	Tue Apr 08 22:16:56 2008 +0000
@@ -354,7 +354,7 @@
 
 static void layout_menu_exit_cb(GtkAction *action, gpointer data)
 {
-	exit_gqview();
+	exit_program();
 }
 
 static void layout_menu_alter_90_cb(GtkAction *action, gpointer data)
--- a/src/main.c	Tue Apr 08 22:05:04 2008 +0000
+++ b/src/main.c	Tue Apr 08 22:16:56 2008 +0000
@@ -398,7 +398,7 @@
 
 static gint gr_quit_idle_cb(gpointer data)
 {
-	exit_gqview();
+	exit_program();
 
 	return FALSE;
 }
@@ -1147,7 +1147,7 @@
 	sidecar_ext_add_defaults();
 }
 
-static void exit_gqview_final(void)
+static void exit_program_final(void)
 {
 	gchar *path;
 	gchar *pathl;
@@ -1209,7 +1209,7 @@
 {
 	exit_dialog = NULL;
 	generic_dialog_close(gd);
-	exit_gqview_final();
+	exit_program_final();
 }
 
 static gint exit_confirm_dlg(void)
@@ -1244,13 +1244,13 @@
 	return TRUE;
 }
 
-void exit_gqview(void)
+void exit_program(void)
 {
 	layout_image_full_screen_stop(NULL);
 
 	if (exit_confirm_dlg()) return;
 
-	exit_gqview_final();
+	exit_program_final();
 }
 
 int main (int argc, char *argv[])