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.
This commit is contained in:
Richard Hult 2006-07-09 18:09:09 +00:00 committed by Richard Hult
parent faed5298bd
commit 451543039a
7 changed files with 74 additions and 2 deletions

View File

@ -1,4 +1,13 @@
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.

View File

@ -1,4 +1,13 @@
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.

View File

@ -78,3 +78,11 @@ gdk_window_scroll (GdkWindow *window,
}
}
void
gdk_window_move_region (GdkWindow *window,
GdkRegion *region,
gint dx,
gint dy)
{
/* FIXME: Implement */
}

View File

@ -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;
}

View File

@ -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)
{

View File

@ -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. */
}

View File

@ -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