2008-05-01 Emmanuele Bassi <ebassi@openedhand.com>

Build fixes for the SDL flavour.

	* clutter/sdl/clutter-backend-sdl.c: Remove an unused function.

	* clutter/sdl/clutter-event-sdl.c:
	(clutter_event_dispatch): Properly cast the stage pointer.

	* clutter/sdl/clutter-stage-sdl.c:
	(clutter_stage_window_iface_init): Remove the draw_to_pixbuf()
	stub and assignment.
This commit is contained in:
Emmanuele Bassi 2008-05-01 15:49:57 +00:00
parent 24e1448c65
commit f6cfee60a9
4 changed files with 14 additions and 22 deletions

View File

@ -1,3 +1,16 @@
2008-05-01 Emmanuele Bassi <ebassi@openedhand.com>
Build fixes for the SDL flavour.
* clutter/sdl/clutter-backend-sdl.c: Remove an unused function.
* clutter/sdl/clutter-event-sdl.c:
(clutter_event_dispatch): Properly cast the stage pointer.
* clutter/sdl/clutter-stage-sdl.c:
(clutter_stage_window_iface_init): Remove the draw_to_pixbuf()
stub and assignment.
2008-05-01 Richard Purdie <rpurdie@openedhand.com>
* configure.ac:

View File

@ -119,12 +119,6 @@ clutter_backend_sdl_init_events (ClutterBackend *backend)
_clutter_events_init (backend);
}
static void
clutter_backend_sdl_add_options (ClutterBackend *backend,
GOptionGroup *group)
{
}
static void
clutter_backend_sdl_finalize (GObject *gobject)
{

View File

@ -327,7 +327,7 @@ clutter_event_dispatch (GSource *source,
{
event = clutter_event_new (CLUTTER_NOTHING);
event->any.stage = clutter_stage_get_default ();
event->any.stage = CLUTTER_STAGE (clutter_stage_get_default ());
if (event_translate (backend, event, &sdl_event))
{

View File

@ -175,20 +175,6 @@ clutter_stage_sdl_set_cursor_visible (ClutterStageWindow *stage_window,
SDL_ShowCursor (show_cursor);
}
static GdkPixbuf *
clutter_stage_sdl_draw_to_pixbuf (ClutterStageWindow *stage_window,
GdkPixbuf *dest,
gint x,
gint y,
gint width,
gint height)
{
g_warning ("Stage of type `%s' do not support "
"ClutterStageWindow::draw_to_pixbuf",
G_OBJECT_TYPE_NAME (stage_window));
return NULL;
}
static void
clutter_stage_sdl_set_title (ClutterStageWindow *stage_window,
const gchar *title)
@ -228,7 +214,6 @@ clutter_stage_window_iface_init (ClutterStageWindowIface *iface)
iface->set_fullscreen = clutter_stage_sdl_set_fullscreen;
iface->set_cursor_visible = clutter_stage_sdl_set_cursor_visible;
iface->set_title = clutter_stage_sdl_set_title;
iface->draw_to_pixbuf = clutter_stage_sdl_draw_to_pixbuf;
}
static void