mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 08:30:42 -05:00
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:
parent
24e1448c65
commit
f6cfee60a9
13
ChangeLog
13
ChangeLog
@ -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:
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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))
|
||||
{
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user