aboutsummaryrefslogtreecommitdiffstats
path: root/android/skin/window.c
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@android.com>2010-10-19 08:07:11 +0200
committerDavid 'Digit' Turner <digit@android.com>2010-10-19 08:33:48 +0200
commit18fe86e8245878f3b7a2813bd59b8cfcf636e15c (patch)
tree16ecfe8a8665aec212abdd3f2fcd1e122635358b /android/skin/window.c
parent6b512811e01d7c81348bfa9c29c21f788ccc0a8e (diff)
downloadexternal_qemu-18fe86e8245878f3b7a2813bd59b8cfcf636e15c.zip
external_qemu-18fe86e8245878f3b7a2813bd59b8cfcf636e15c.tar.gz
external_qemu-18fe86e8245878f3b7a2813bd59b8cfcf636e15c.tar.bz2
emulator-ui: Remove dependencies from qemu sources.
This change removes some QEMU-specifics that crept into the UI code. Change-Id: Ib1974dc64e54a35dc0cd01aec1eb547a9263a0c8
Diffstat (limited to 'android/skin/window.c')
-rw-r--r--android/skin/window.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/android/skin/window.c b/android/skin/window.c
index 9aa7ec9..b1d98af 100644
--- a/android/skin/window.c
+++ b/android/skin/window.c
@@ -722,13 +722,13 @@ layout_done( Layout* layout )
for (nn = 0; nn < layout->num_displays; nn++)
display_done( &layout->displays[nn] );
- qemu_free( layout->buttons );
+ AFREE( layout->buttons );
layout->buttons = NULL;
- qemu_free( layout->backgrounds );
+ AFREE( layout->backgrounds );
layout->backgrounds = NULL;
- qemu_free( layout->displays );
+ AFREE( layout->displays );
layout->displays = NULL;
layout->num_buttons = 0;
@@ -1100,7 +1100,7 @@ skin_window_resize( SkinWindow* window )
}
if (window->shrink_pixels) {
- qemu_free(window->shrink_pixels);
+ AFREE(window->shrink_pixels);
window->shrink_pixels = NULL;
}
@@ -1267,7 +1267,7 @@ skin_window_free ( SkinWindow* window )
window->shrink_surface = NULL;
}
if (window->shrink_pixels) {
- qemu_free(window->shrink_pixels);
+ AFREE(window->shrink_pixels);
window->shrink_pixels = NULL;
}
if (window->onion) {
@@ -1279,7 +1279,7 @@ skin_window_free ( SkinWindow* window )
window->scaler = NULL;
}
layout_done( &window->layout );
- qemu_free(window);
+ AFREE(window);
}
}