Commit 7ba4ba0d authored by Raph Levien's avatar Raph Levien

Made some config changes to make it work better both as a standalone

module (i.e. with Gtk 1.0) and as a module under Gtk 1.1+, i.e. harmonized
with the separate GdkRgb release.
parent 8ad52d10
Sat Aug 1 22:17:00 1998 Raph Levien <raph@acm.org>
* gdk/gdkrgb.c: made some minor config changes to unify GdkRgb
with the standalone release.
Fri Jul 31 20:45:07 1998 Lars Hamann <lars@gtk.org>
* gtk/gtkclist.c (gtk_clist_button_press) (gtk_clist_motion)
......
Sat Aug 1 22:17:00 1998 Raph Levien <raph@acm.org>
* gdk/gdkrgb.c: made some minor config changes to unify GdkRgb
with the standalone release.
Fri Jul 31 20:45:07 1998 Lars Hamann <lars@gtk.org>
* gtk/gtkclist.c (gtk_clist_button_press) (gtk_clist_motion)
......
Sat Aug 1 22:17:00 1998 Raph Levien <raph@acm.org>
* gdk/gdkrgb.c: made some minor config changes to unify GdkRgb
with the standalone release.
Fri Jul 31 20:45:07 1998 Lars Hamann <lars@gtk.org>
* gtk/gtkclist.c (gtk_clist_button_press) (gtk_clist_motion)
......
Sat Aug 1 22:17:00 1998 Raph Levien <raph@acm.org>
* gdk/gdkrgb.c: made some minor config changes to unify GdkRgb
with the standalone release.
Fri Jul 31 20:45:07 1998 Lars Hamann <lars@gtk.org>
* gtk/gtkclist.c (gtk_clist_button_press) (gtk_clist_motion)
......
Sat Aug 1 22:17:00 1998 Raph Levien <raph@acm.org>
* gdk/gdkrgb.c: made some minor config changes to unify GdkRgb
with the standalone release.
Fri Jul 31 20:45:07 1998 Lars Hamann <lars@gtk.org>
* gtk/gtkclist.c (gtk_clist_button_press) (gtk_clist_motion)
......
Sat Aug 1 22:17:00 1998 Raph Levien <raph@acm.org>
* gdk/gdkrgb.c: made some minor config changes to unify GdkRgb
with the standalone release.
Fri Jul 31 20:45:07 1998 Lars Hamann <lars@gtk.org>
* gtk/gtkclist.c (gtk_clist_button_press) (gtk_clist_motion)
......
Sat Aug 1 22:17:00 1998 Raph Levien <raph@acm.org>
* gdk/gdkrgb.c: made some minor config changes to unify GdkRgb
with the standalone release.
Fri Jul 31 20:45:07 1998 Lars Hamann <lars@gtk.org>
* gtk/gtkclist.c (gtk_clist_button_press) (gtk_clist_motion)
......
......@@ -27,9 +27,22 @@
#define ENABLE_GRAYSCALE
#ifdef GDK_RGB_STANDALONE
/* Compiling as a standalone module (i.e. with Gtk 1.0) */
/* gtk/gtk.h is already included in gdkrgbstub.c */
#include "config.h"
#include <gdk/gdkprivate.h>
#else
/* Compiling as a part of Gtk 1.1 or later */
#include "../config.h"
#include "gdk/gdk.h"
#include "gdk/gdkprivate.h"
#include "gdk.h"
#include "gdkprivate.h"
#endif
#include "gdkrgb.h"
typedef struct _GdkRgbInfo GdkRgbInfo;
......@@ -2386,8 +2399,10 @@ gdk_draw_rgb_image_core (GdkDrawable *drawable,
conv (image, xs0, ys0, width1, height1, buf_ptr, rowstride,
x + x0, y + y0, cmap);
#ifndef DONT_ACTUALLY_DRAW
gdk_draw_image (drawable, gc,
image, xs0, ys0, x + x0, y + y0, width1, height1);
#endif
}
}
}
......
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