Implement.
2003-01-22 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkpixmap-win32.c (gdk_pixmap_foreign_new_for_display, gdk_pixmap_lookup, gdk_pixmap_lookup_for_display): Implement. * gdk/gdk.def: Export the above.
This commit is contained in:
committed by
Tor Lillqvist
parent
d703d86055
commit
a0f421f6eb
@@ -1,5 +1,12 @@
|
||||
2003-01-22 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkpixmap-win32.c (gdk_pixmap_foreign_new_for_display,
|
||||
gdk_pixmap_lookup, gdk_pixmap_lookup_for_display): Implement.
|
||||
|
||||
* gdk/gdk.def: Export the above.
|
||||
|
||||
Wed Jan 22 14:23:23 2003 Manish Singh <yosh@gimp.org>
|
||||
|
||||
|
||||
* gdk/x11/gdkevents-x11.c (translate_key_event): add a "return" at
|
||||
the end of the function, so there is a statement following the "out"
|
||||
label in all cases (fixes #101961)
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
2003-01-22 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkpixmap-win32.c (gdk_pixmap_foreign_new_for_display,
|
||||
gdk_pixmap_lookup, gdk_pixmap_lookup_for_display): Implement.
|
||||
|
||||
* gdk/gdk.def: Export the above.
|
||||
|
||||
Wed Jan 22 14:23:23 2003 Manish Singh <yosh@gimp.org>
|
||||
|
||||
|
||||
* gdk/x11/gdkevents-x11.c (translate_key_event): add a "return" at
|
||||
the end of the function, so there is a statement following the "out"
|
||||
label in all cases (fixes #101961)
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
2003-01-22 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkpixmap-win32.c (gdk_pixmap_foreign_new_for_display,
|
||||
gdk_pixmap_lookup, gdk_pixmap_lookup_for_display): Implement.
|
||||
|
||||
* gdk/gdk.def: Export the above.
|
||||
|
||||
Wed Jan 22 14:23:23 2003 Manish Singh <yosh@gimp.org>
|
||||
|
||||
|
||||
* gdk/x11/gdkevents-x11.c (translate_key_event): add a "return" at
|
||||
the end of the function, so there is a statement following the "out"
|
||||
label in all cases (fixes #101961)
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
2003-01-22 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkpixmap-win32.c (gdk_pixmap_foreign_new_for_display,
|
||||
gdk_pixmap_lookup, gdk_pixmap_lookup_for_display): Implement.
|
||||
|
||||
* gdk/gdk.def: Export the above.
|
||||
|
||||
Wed Jan 22 14:23:23 2003 Manish Singh <yosh@gimp.org>
|
||||
|
||||
|
||||
* gdk/x11/gdkevents-x11.c (translate_key_event): add a "return" at
|
||||
the end of the function, so there is a statement following the "out"
|
||||
label in all cases (fixes #101961)
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
2003-01-22 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkpixmap-win32.c (gdk_pixmap_foreign_new_for_display,
|
||||
gdk_pixmap_lookup, gdk_pixmap_lookup_for_display): Implement.
|
||||
|
||||
* gdk/gdk.def: Export the above.
|
||||
|
||||
Wed Jan 22 14:23:23 2003 Manish Singh <yosh@gimp.org>
|
||||
|
||||
|
||||
* gdk/x11/gdkevents-x11.c (translate_key_event): add a "return" at
|
||||
the end of the function, so there is a statement following the "out"
|
||||
label in all cases (fixes #101961)
|
||||
|
||||
@@ -113,7 +113,6 @@ EXPORTS
|
||||
gdk_draw_line
|
||||
gdk_draw_lines
|
||||
gdk_draw_pixbuf
|
||||
gdk_draw_pixbuf
|
||||
gdk_draw_point
|
||||
gdk_draw_points
|
||||
gdk_draw_polygon
|
||||
@@ -297,6 +296,9 @@ EXPORTS
|
||||
gdk_pixmap_create_from_xpm_d
|
||||
gdk_pixmap_foreign_new
|
||||
gdk_pixmap_get_type
|
||||
gdk_pixmap_foreign_new_for_display
|
||||
gdk_pixmap_lookup
|
||||
gdk_pixmap_lookup_for_display
|
||||
gdk_pixmap_new
|
||||
gdk_pointer_grab
|
||||
gdk_pointer_grab_info_libgtk_only
|
||||
|
||||
@@ -30,6 +30,8 @@
|
||||
#include <string.h>
|
||||
|
||||
#include "gdkpixmap.h"
|
||||
#include "gdkdisplay.h"
|
||||
|
||||
#include "gdkprivate-win32.h"
|
||||
|
||||
static void gdk_pixmap_impl_win32_get_size (GdkDrawable *drawable,
|
||||
@@ -440,6 +442,16 @@ gdk_pixmap_create_from_data (GdkDrawable *drawable,
|
||||
return result;
|
||||
}
|
||||
|
||||
GdkPixmap *
|
||||
gdk_pixmap_foreign_new_for_display (GdkDisplay *display,
|
||||
GdkNativeWindow anid)
|
||||
{
|
||||
g_return_val_if_fail (GDK_IS_DISPLAY (display), NULL);
|
||||
g_return_val_if_fail (display == _gdk_display, NULL);
|
||||
|
||||
return gdk_pixmap_foreign_new (anid);
|
||||
}
|
||||
|
||||
GdkPixmap*
|
||||
gdk_pixmap_foreign_new (GdkNativeWindow anid)
|
||||
{
|
||||
@@ -479,3 +491,18 @@ gdk_pixmap_foreign_new (GdkNativeWindow anid)
|
||||
|
||||
return pixmap;
|
||||
}
|
||||
|
||||
GdkPixmap*
|
||||
gdk_pixmap_lookup (GdkNativeWindow anid)
|
||||
{
|
||||
return (GdkPixmap*) gdk_win32_handle_table_lookup (anid);
|
||||
}
|
||||
|
||||
GdkPixmap*
|
||||
gdk_pixmap_lookup_for_display (GdkDisplay *display, GdkNativeWindow anid)
|
||||
{
|
||||
g_return_val_if_fail (GDK_IS_DISPLAY (display), NULL);
|
||||
g_return_val_if_fail (display == _gdk_display, NULL);
|
||||
|
||||
return gdk_pixmap_lookup (anid);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user