Add -xobjective-c to cflags. (#335956, Lllian Angel)

2006-03-27  Anders Carlsson  <andersca@imendio.com>

        * gtk/Makefile.am:
        Add -xobjective-c to cflags.
        (#335956, Lllian Angel)

        * gtk/gtkdnd-quartz.c:
        (gtk_drag_dest_set_track_motion):
        (gtk_drag_dest_get_track_motion):
        Add stubs for new functions.
        (#335955, Lillian Angel)
This commit is contained in:
Anders Carlsson 2006-03-27 11:34:43 +00:00 committed by Anders Carlsson
parent ce823f5b28
commit f09810e025
4 changed files with 46 additions and 1 deletions

View File

@ -1,3 +1,15 @@
2006-03-27 Anders Carlsson <andersca@imendio.com>
* gtk/Makefile.am:
Add -xobjective-c to cflags.
(#335956, Lllian Angel)
* gtk/gtkdnd-quartz.c:
(gtk_drag_dest_set_track_motion):
(gtk_drag_dest_get_track_motion):
Add stubs for new functions.
(#335955, Lillian Angel)
2006-03-27 Richard Hult <richard@imendio.com>
* gdk/quartz: Add more stubs.

View File

@ -1,3 +1,15 @@
2006-03-27 Anders Carlsson <andersca@imendio.com>
* gtk/Makefile.am:
Add -xobjective-c to cflags.
(#335956, Lllian Angel)
* gtk/gtkdnd-quartz.c:
(gtk_drag_dest_set_track_motion):
(gtk_drag_dest_get_track_motion):
Add stubs for new functions.
(#335955, Lillian Angel)
2006-03-27 Richard Hult <richard@imendio.com>
* gdk/quartz: Add more stubs.

View File

@ -27,7 +27,8 @@ INCLUDES = \
-DGTK_DISABLE_DEPRECATED \
-DGTK_FILE_SYSTEM_ENABLE_UNSUPPORTED \
$(GTK_DEBUG_FLAGS) \
$(GTK_DEP_CFLAGS)
$(GTK_DEP_CFLAGS) \
$(gtk_clipboard_dnd_c_sources_CFLAGS)
gtarget=$(gdktarget)
@ -566,6 +567,7 @@ gtk_clipboard_dnd_c_sources = gtkclipboard-quartz.c gtkdnd-quartz.c gtkquartz.c
gtk_clipboard_dnd_c_sources_CFLAGS = "-xobjective-c"
else
gtk_clipboard_dnd_c_sources = gtkclipboard.c gtkdnd.c
gtk_clipboard_dnd_c_sources_CFLAGS =
endif
# we use our own built_sources variable rules to avoid automake's

View File

@ -845,6 +845,25 @@ gtk_drag_dest_drop (GtkWidget *widget,
return (site->flags & GTK_DEST_DEFAULT_DROP) ? TRUE : retval;
}
void
gtk_drag_dest_set_track_motion (GtkWidget *widget,
gboolean track_motion)
{
g_return_if_fail (GTK_IS_WIDGET (widget));
/* FIXME: Implement */
}
gboolean
gtk_drag_dest_get_track_motion (GtkWidget *widget)
{
g_return_val_if_fail (GTK_IS_WIDGET (widget), FALSE);
/* FIXME: Implement */
return FALSE;
}
void
_gtk_drag_dest_handle_event (GtkWidget *toplevel,
GdkEvent *event)