+2002-05-01 Erwann Chenede - <erwann.chenede@sun.com>
+
+ * gdk/gdkpixmap.[hc] (gdk_pixmap_get_screen):
+ * x11/gdkpixmap-x11.c:
+ removed that function as gdk_drawable_get_screen
+ does the job. #79964
+
2002-05-01 Erwann Chenede - <erwann.chenede@sun.com>
* gdk/gdkscreen.[hc] (gdk_screen_x11_get_monitor_at_window):
- remove virtualization and made it cross platform. fix #79961
+ remove virtualization and made it cross platform. #79961
* gdk/x11/gdkdisplay-x11.c (check_solaris_xinerama):
fixed initialization bugs.
* gdk/x11/gdkscreen-x11.[hc] (gdk_screen_get_monitor_geometry):
* gtk/gtkwindow.c (gtk_window_compute_configure_request):
* gtk/gtkmenu.c (gtk_menu_position):
take a GdkRectangle argument instead of returning
- a GdkRectangle * and propagated the changes. fix #79974
+ a GdkRectangle * and propagated the changes. #79974
2002-05-01 Anders Carlsson <andersca@gnu.org>
+2002-05-01 Erwann Chenede - <erwann.chenede@sun.com>
+
+ * gdk/gdkpixmap.[hc] (gdk_pixmap_get_screen):
+ * x11/gdkpixmap-x11.c:
+ removed that function as gdk_drawable_get_screen
+ does the job. #79964
+
2002-05-01 Erwann Chenede - <erwann.chenede@sun.com>
* gdk/gdkscreen.[hc] (gdk_screen_x11_get_monitor_at_window):
- remove virtualization and made it cross platform. fix #79961
+ remove virtualization and made it cross platform. #79961
* gdk/x11/gdkdisplay-x11.c (check_solaris_xinerama):
fixed initialization bugs.
* gdk/x11/gdkscreen-x11.[hc] (gdk_screen_get_monitor_geometry):
* gtk/gtkwindow.c (gtk_window_compute_configure_request):
* gtk/gtkmenu.c (gtk_menu_position):
take a GdkRectangle argument instead of returning
- a GdkRectangle * and propagated the changes. fix #79974
+ a GdkRectangle * and propagated the changes. #79974
2002-05-01 Anders Carlsson <andersca@gnu.org>
+2002-05-01 Erwann Chenede - <erwann.chenede@sun.com>
+
+ * gdk/gdkpixmap.[hc] (gdk_pixmap_get_screen):
+ * x11/gdkpixmap-x11.c:
+ removed that function as gdk_drawable_get_screen
+ does the job. #79964
+
2002-05-01 Erwann Chenede - <erwann.chenede@sun.com>
* gdk/gdkscreen.[hc] (gdk_screen_x11_get_monitor_at_window):
- remove virtualization and made it cross platform. fix #79961
+ remove virtualization and made it cross platform. #79961
* gdk/x11/gdkdisplay-x11.c (check_solaris_xinerama):
fixed initialization bugs.
* gdk/x11/gdkscreen-x11.[hc] (gdk_screen_get_monitor_geometry):
* gtk/gtkwindow.c (gtk_window_compute_configure_request):
* gtk/gtkmenu.c (gtk_menu_position):
take a GdkRectangle argument instead of returning
- a GdkRectangle * and propagated the changes. fix #79974
+ a GdkRectangle * and propagated the changes. #79974
2002-05-01 Anders Carlsson <andersca@gnu.org>
+2002-05-01 Erwann Chenede - <erwann.chenede@sun.com>
+
+ * gdk/gdkpixmap.[hc] (gdk_pixmap_get_screen):
+ * x11/gdkpixmap-x11.c:
+ removed that function as gdk_drawable_get_screen
+ does the job. #79964
+
2002-05-01 Erwann Chenede - <erwann.chenede@sun.com>
* gdk/gdkscreen.[hc] (gdk_screen_x11_get_monitor_at_window):
- remove virtualization and made it cross platform. fix #79961
+ remove virtualization and made it cross platform. #79961
* gdk/x11/gdkdisplay-x11.c (check_solaris_xinerama):
fixed initialization bugs.
* gdk/x11/gdkscreen-x11.[hc] (gdk_screen_get_monitor_geometry):
* gtk/gtkwindow.c (gtk_window_compute_configure_request):
* gtk/gtkmenu.c (gtk_menu_position):
take a GdkRectangle argument instead of returning
- a GdkRectangle * and propagated the changes. fix #79974
+ a GdkRectangle * and propagated the changes. #79974
2002-05-01 Anders Carlsson <andersca@gnu.org>
+2002-05-01 Erwann Chenede - <erwann.chenede@sun.com>
+
+ * gdk/gdkpixmap.[hc] (gdk_pixmap_get_screen):
+ * x11/gdkpixmap-x11.c:
+ removed that function as gdk_drawable_get_screen
+ does the job. #79964
+
2002-05-01 Erwann Chenede - <erwann.chenede@sun.com>
* gdk/gdkscreen.[hc] (gdk_screen_x11_get_monitor_at_window):
- remove virtualization and made it cross platform. fix #79961
+ remove virtualization and made it cross platform. #79961
* gdk/x11/gdkdisplay-x11.c (check_solaris_xinerama):
fixed initialization bugs.
* gdk/x11/gdkscreen-x11.[hc] (gdk_screen_get_monitor_geometry):
* gtk/gtkwindow.c (gtk_window_compute_configure_request):
* gtk/gtkmenu.c (gtk_menu_position):
take a GdkRectangle argument instead of returning
- a GdkRectangle * and propagated the changes. fix #79974
+ a GdkRectangle * and propagated the changes. #79974
2002-05-01 Anders Carlsson <andersca@gnu.org>
+2002-05-01 Erwann Chenede - <erwann.chenede@sun.com>
+
+ * gdk/gdkpixmap.[hc] (gdk_pixmap_get_screen):
+ * x11/gdkpixmap-x11.c:
+ removed that function as gdk_drawable_get_screen
+ does the job. #79964
+
2002-05-01 Erwann Chenede - <erwann.chenede@sun.com>
* gdk/gdkscreen.[hc] (gdk_screen_x11_get_monitor_at_window):
- remove virtualization and made it cross platform. fix #79961
+ remove virtualization and made it cross platform. #79961
* gdk/x11/gdkdisplay-x11.c (check_solaris_xinerama):
fixed initialization bugs.
* gdk/x11/gdkscreen-x11.[hc] (gdk_screen_get_monitor_geometry):
* gtk/gtkwindow.c (gtk_window_compute_configure_request):
* gtk/gtkmenu.c (gtk_menu_position):
take a GdkRectangle argument instead of returning
- a GdkRectangle * and propagated the changes. fix #79974
+ a GdkRectangle * and propagated the changes. #79974
2002-05-01 Anders Carlsson <andersca@gnu.org>
static void gdk_pixmap_real_set_colormap (GdkDrawable *drawable,
GdkColormap *cmap);
static GdkColormap* gdk_pixmap_real_get_colormap (GdkDrawable *drawable);
+static GdkScreen* gdk_pixmap_real_get_screen (GdkDrawable *drawable);
static void gdk_pixmap_init (GdkPixmapObject *pixmap);
static void gdk_pixmap_class_init (GdkPixmapObjectClass *klass);
drawable_class->draw_image = gdk_pixmap_draw_image;
drawable_class->_draw_pixbuf = gdk_pixmap_draw_pixbuf;
drawable_class->get_depth = gdk_pixmap_real_get_depth;
- drawable_class->get_screen = gdk_pixmap_get_screen;
+ drawable_class->get_screen = gdk_pixmap_real_get_screen;
drawable_class->get_size = gdk_pixmap_real_get_size;
drawable_class->set_colormap = gdk_pixmap_real_set_colormap;
drawable_class->get_colormap = gdk_pixmap_real_get_colormap;
transparent_color, data);
}
+static GdkScreen*
+gdk_pixmap_real_get_screen (GdkDrawable *drawable)
+{
+ return gdk_drawable_get_screen (GDK_PIXMAP_OBJECT (drawable)->impl);
+}
GdkColor *transparent_color,
gchar **data);
-GdkScreen *gdk_pixmap_get_screen (GdkDrawable *drawable);
-
/* Functions to create/lookup pixmaps from their native equivalents
*/
#ifndef GDK_MULTIHEAD_SAFE
return gdk_pixmap_foreign_new_for_display (gdk_get_default_display (), anid);
}
-/**
- * gdk_pixmap_get_screen :
- * @drawable : the #GdkPixmap.
- *
- * Returns the #GdkScreen for which the pixmap was created.
- *
- * Returns: the #GdkScreen for which the pixmap was created.
- */
-GdkScreen*
-gdk_pixmap_get_screen (GdkDrawable *drawable)
-{
- return GDK_PIXMAP_SCREEN (drawable);
-}
-
/**
* gdk_pixmap_lookup:
* @anid: a native pixmap handle.