diff src/editors.c @ 283:e213fb025621

GQVIEW_* -> GQ_*
author zas_
date Tue, 08 Apr 2008 23:16:12 +0000
parents 9995c5fb202a
children d1f74154463e
line wrap: on
line diff
--- a/src/editors.c	Tue Apr 08 23:07:09 2008 +0000
+++ b/src/editors.c	Tue Apr 08 23:16:12 2008 +0000
@@ -55,7 +55,7 @@
 };
 
 
-static gchar *editor_slot_defaults[GQVIEW_EDITOR_SLOTS * 2] = {
+static gchar *editor_slot_defaults[GQ_EDITOR_SLOTS * 2] = {
 	N_("The Gimp"), "gimp-remote -n %{.cr2;.crw;.nef;.raw;*}f",
 	N_("XV"), "xv %f",
 	N_("Xpaint"), "xpaint %f",
@@ -98,7 +98,7 @@
 {
 	gint i;
 
-	for (i = 0; i < GQVIEW_EDITOR_SLOTS; i++)
+	for (i = 0; i < GQ_EDITOR_SLOTS; i++)
 		{
 		g_free(editor_name[i]);
 		editor_name[i] = g_strdup(_(editor_slot_defaults[i * 2]));
@@ -784,7 +784,7 @@
 	gchar *command;
 	gint error;
 
-	if (n < 0 || n >= GQVIEW_EDITOR_SLOTS || !list ||
+	if (n < 0 || n >= GQ_EDITOR_SLOTS || !list ||
 	    !editor_command[n] ||
 	    strlen(editor_command[n]) == 0) return FALSE;
 
@@ -820,7 +820,7 @@
 
 gint editor_window_flag_set(gint n)
 {
-	if (n < 0 || n >= GQVIEW_EDITOR_SLOTS ||
+	if (n < 0 || n >= GQ_EDITOR_SLOTS ||
 	    !editor_command[n] ||
 	    strlen(editor_command[n]) == 0) return TRUE;