Commit 45154303 authored by Richard Hult's avatar Richard Hult Committed by Richard Hult

Implement some more stubs for pygtk, bug #346713.

2006-07-09  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkgeometry-quartz.c:
	* gdk/quartz/gdkmain-quartz.c:
	* gdk/quartz/gdkpixmap-quartz.c:
	* gdk/quartz/gdkwindow-quartz.c:
	* gtk/gtkclipboard-quartz.c: Implement some more stubs for pygtk,
	bug #346713.
parent faed5298
2006-07-09 Richard Hult <richard@imendio.com>
2006-07-09 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkgeometry-quartz.c:
* gdk/quartz/gdkmain-quartz.c:
* gdk/quartz/gdkpixmap-quartz.c:
* gdk/quartz/gdkwindow-quartz.c:
* gtk/gtkclipboard-quartz.c: Implement some more stubs for pygtk,
bug #346713.
2006-07-09 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkwindow-quartz.c (gdk_window_new): Release the pool
in all cases.
......
2006-07-09 Richard Hult <richard@imendio.com>
2006-07-09 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkgeometry-quartz.c:
* gdk/quartz/gdkmain-quartz.c:
* gdk/quartz/gdkpixmap-quartz.c:
* gdk/quartz/gdkwindow-quartz.c:
* gtk/gtkclipboard-quartz.c: Implement some more stubs for pygtk,
bug #346713.
2006-07-09 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkwindow-quartz.c (gdk_window_new): Release the pool
in all cases.
......
......@@ -78,3 +78,11 @@ gdk_window_scroll (GdkWindow *window,
}
}
void
gdk_window_move_region (GdkWindow *window,
GdkRegion *region,
gint dx,
gint dy)
{
/* FIXME: Implement */
}
......@@ -69,4 +69,15 @@ _gdk_windowing_display_set_sm_client_id (GdkDisplay *display,
{
}
void
gdk_set_use_xshm (gboolean use_xshm)
{
/* Always on, since we're always on the local machine */
}
gboolean
gdk_get_use_xshm (void)
{
return TRUE;
}
......@@ -257,6 +257,16 @@ gdk_pixmap_foreign_new (GdkNativeWindow anid)
return NULL;
}
GdkPixmap *
gdk_pixmap_foreign_new_for_screen (GdkScreen *screen,
GdkNativeWindow anid,
gint width,
gint height,
gint depth)
{
return NULL;
}
GdkPixmap*
gdk_pixmap_lookup (GdkNativeWindow anid)
{
......
......@@ -1226,6 +1226,12 @@ gdk_window_set_type_hint (GdkWindow *window,
/* FIXME: Implement */
}
GdkWindowTypeHint
gdk_window_get_type_hint (GdkWindow *window)
{
/* FIXME: Implement */
}
void
gdk_window_set_modal_hint (GdkWindow *window,
gboolean modal)
......@@ -1482,3 +1488,11 @@ void
gdk_window_configure_finished (GdkWindow *window)
{
}
void
gdk_window_destroy_notify (GdkWindow *window)
{
/* FIXME: Implement. We should call this from -[GdkQuartzWindow dealloc] or
* -[GdkQuartzView dealloc], although I suspect that currently they leak
* anyway. */
}
......@@ -720,6 +720,17 @@ gtk_clipboard_request_rich_text (GtkClipboard *clipboard,
/* FIXME: Implement */
}
guint8 *
gtk_clipboard_wait_for_rich_text (GtkClipboard *clipboard,
GtkTextBuffer *buffer,
GdkAtom *format,
gsize *length)
{
/* FIXME: Implement */
return NULL;
}
/**
* gtk_clipboard_request_image:
* @clipboard: a #GtkClipboard
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment