diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2012-01-19 01:59:57 +0800 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2012-01-20 02:07:22 +0800 |
commit | 90e79ffec92b47fbc6ad8b575b9691b1f7621f3b (patch) | |
tree | b7242ebaf9f6792a7253fb280e030ac7454029be /tests | |
parent | 653966c7a52cd037dd86623f85ffdd7fcd47b822 (diff) | |
download | gsoc2013-epiphany-90e79ffec92b47fbc6ad8b575b9691b1f7621f3b.tar gsoc2013-epiphany-90e79ffec92b47fbc6ad8b575b9691b1f7621f3b.tar.gz gsoc2013-epiphany-90e79ffec92b47fbc6ad8b575b9691b1f7621f3b.tar.bz2 gsoc2013-epiphany-90e79ffec92b47fbc6ad8b575b9691b1f7621f3b.tar.lz gsoc2013-epiphany-90e79ffec92b47fbc6ad8b575b9691b1f7621f3b.tar.xz gsoc2013-epiphany-90e79ffec92b47fbc6ad8b575b9691b1f7621f3b.tar.zst gsoc2013-epiphany-90e79ffec92b47fbc6ad8b575b9691b1f7621f3b.zip |
entry: make EphyLocationEntry a GtkEntry
Instead of a GtkToolItem. A future commit will move the code in
EphyLocationAction not to be a GtkAction, which is why this was a
GtkToolItem in the first place.
https://bugzilla.gnome.org/show_bug.cgi?id=668206
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ephy-location-entry.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ephy-location-entry.c b/tests/ephy-location-entry.c index 6ce9c8603..159a7a49a 100644 --- a/tests/ephy-location-entry.c +++ b/tests/ephy-location-entry.c @@ -43,7 +43,7 @@ test_entry_get_entry (void) EphyLocationEntry *entry; entry = EPHY_LOCATION_ENTRY (ephy_location_entry_new ()); - g_assert (GTK_IS_ENTRY (ephy_location_entry_get_entry (entry))); + g_assert (GTK_IS_ENTRY (entry)); } static void @@ -113,7 +113,7 @@ test_entry_can_undo (void) /* Use gtk_* function or otherwise user_changed won't be correctly handled * internally by the location entry (see editable_changed_cb and * block_update) */ - gtk_entry_set_text (GTK_ENTRY (ephy_location_entry_get_entry (entry)), test); + gtk_entry_set_text (GTK_ENTRY (entry), test); g_assert_cmpint (ephy_location_entry_get_can_undo (entry), ==, TRUE); } |