app: fixed typos in testing code

This commit is contained in:
Ville Sokk 2012-06-05 22:03:26 +03:00
parent 90f996e15f
commit 4148d4a5af
4 changed files with 8 additions and 8 deletions

View File

@ -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;

View File

@ -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__ */

View File

@ -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);

View File

@ -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,