[gimp] app: fixed typos in testing code



commit 4148d4a5af8237ee499b94b35a7e78478e32c1d0
Author: Ville Sokk <ville sokk gmail com>
Date:   Tue Jun 5 22:03:26 2012 +0300

    app: fixed typos in testing code

 app/tests/gimp-app-test-utils.c  |    2 +-
 app/tests/gimp-app-test-utils.h  |    8 ++++----
 app/tests/test-save-and-export.c |    4 ++--
 app/tests/test-ui.c              |    2 +-
 4 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/app/tests/gimp-app-test-utils.c b/app/tests/gimp-app-test-utils.c
index 1b2b166..e289567 100644
--- a/app/tests/gimp-app-test-utils.c
+++ b/app/tests/gimp-app-test-utils.c
@@ -209,7 +209,7 @@ gimp_test_utils_get_ui_manager (Gimp *gimp)
  * Returns: The created #GimpImage.
  **/
 GimpImage *
-gimp_test_utils_create_image_from_dalog (Gimp *gimp)
+gimp_test_utils_create_image_from_dialog (Gimp *gimp)
 {
   GimpImage     *image            = NULL;
   GtkWidget     *new_image_dialog = NULL;
diff --git a/app/tests/gimp-app-test-utils.h b/app/tests/gimp-app-test-utils.h
index 325a6e7..9cb2228 100644
--- a/app/tests/gimp-app-test-utils.h
+++ b/app/tests/gimp-app-test-utils.h
@@ -15,8 +15,8 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef  __GIMP_RECTANGLE_SELECT_TOOL_H__
-#define  __GIMP_RECTANGLE_SELECT_TOOL_H__
+#ifndef  __GIMP_APP_TEST_UTILS_H__
+#define  __GIMP_APP_TEST_UTILS_H__
 
 
 void            gimp_test_utils_set_env_to_subpath   (const gchar *root_env_var,
@@ -31,8 +31,8 @@ void            gimp_test_utils_create_image         (Gimp        *gimp,
 void            gimp_test_utils_synthesize_key_event (GtkWidget   *widget,
                                                       guint        keyval);
 GimpUIManager * gimp_test_utils_get_ui_manager       (Gimp        *gimp);
-GimpImage     * gimp_test_utils_create_image_from_dalog
+GimpImage     * gimp_test_utils_create_image_from_dialog
                                                      (Gimp        *gimp);
 
 
-#endif /* __GIMP_RECTANGLE_SELECT_TOOL_H__ */
+#endif /* __GIMP_APP_TEST_UTILS_H__ */
diff --git a/app/tests/test-save-and-export.c b/app/tests/test-save-and-export.c
index 498cd76..8533da5 100644
--- a/app/tests/test-save-and-export.c
+++ b/app/tests/test-save-and-export.c
@@ -84,7 +84,7 @@ static void
 new_file_has_no_uris (gconstpointer    data)
 {
   Gimp      *gimp  = GIMP (data);
-  GimpImage *image = gimp_test_utils_create_image_from_dalog (gimp);
+  GimpImage *image = gimp_test_utils_create_image_from_dialog (gimp);
 
   g_assert (gimp_image_get_uri (image) == NULL);
   g_assert (gimp_image_get_imported_uri (image) == NULL);
@@ -245,7 +245,7 @@ exported_file_uris (gconstpointer data)
   gchar               *save_filename;
   GimpPlugInProcedure *proc;
   Gimp                *gimp  = GIMP (data);
-  GimpImage           *image = gimp_test_utils_create_image_from_dalog (gimp);
+  GimpImage           *image = gimp_test_utils_create_image_from_dialog (gimp);
 
   save_filename = g_build_filename (g_get_tmp_dir (), "gimp-test.png", NULL);
   save_uri = g_filename_to_uri (save_filename, NULL, NULL);
diff --git a/app/tests/test-ui.c b/app/tests/test-ui.c
index addbbc6..7c9592b 100644
--- a/app/tests/test-ui.c
+++ b/app/tests/test-ui.c
@@ -227,7 +227,7 @@ create_new_image_via_dialog (gconstpointer data)
   GimpImage *image;
   GimpLayer *layer;
 
-  image = gimp_test_utils_create_image_from_dalog (gimp);
+  image = gimp_test_utils_create_image_from_dialog (gimp);
 
   /* Add a layer to the image to make it more useful in later tests */
   layer = gimp_layer_new (image,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]