+2001-09-07 Alex Larsson <alexl@redhat.com>
+
+ * gdk/linux-fb/gdkcolor-fb.c:
+ Removed unused function.
+
+ * gdk/linux-fb/gdkdrawable-fb2.c
+ * gdk/linux-fb/gdkfont-fb.c:
+ Use PangoLanguage functions.
+
+ * gdk/linux-fb/gdkinput.c:
+ * gdk/linux-fb/gdkselection-fb.c:
+ Fix const warnings.
+
+ * gdk/linux-fb/gdkwindow-fb.c:
+ Fix warning. Implement gdk_window_set_icon_list() and
+ gdk_window_get_frame_extents(). (No icon support yet though.)
+
+ * gtk/gtkwindow.c (gtk_window_get_position):
+ If window->frame is set get the extents of it instead.
+
Fri Sep 7 18:50:59 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.c (gtk_widget_get_default_colormap):
+2001-09-07 Alex Larsson <alexl@redhat.com>
+
+ * gdk/linux-fb/gdkcolor-fb.c:
+ Removed unused function.
+
+ * gdk/linux-fb/gdkdrawable-fb2.c
+ * gdk/linux-fb/gdkfont-fb.c:
+ Use PangoLanguage functions.
+
+ * gdk/linux-fb/gdkinput.c:
+ * gdk/linux-fb/gdkselection-fb.c:
+ Fix const warnings.
+
+ * gdk/linux-fb/gdkwindow-fb.c:
+ Fix warning. Implement gdk_window_set_icon_list() and
+ gdk_window_get_frame_extents(). (No icon support yet though.)
+
+ * gtk/gtkwindow.c (gtk_window_get_position):
+ If window->frame is set get the extents of it instead.
+
Fri Sep 7 18:50:59 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.c (gtk_widget_get_default_colormap):
+2001-09-07 Alex Larsson <alexl@redhat.com>
+
+ * gdk/linux-fb/gdkcolor-fb.c:
+ Removed unused function.
+
+ * gdk/linux-fb/gdkdrawable-fb2.c
+ * gdk/linux-fb/gdkfont-fb.c:
+ Use PangoLanguage functions.
+
+ * gdk/linux-fb/gdkinput.c:
+ * gdk/linux-fb/gdkselection-fb.c:
+ Fix const warnings.
+
+ * gdk/linux-fb/gdkwindow-fb.c:
+ Fix warning. Implement gdk_window_set_icon_list() and
+ gdk_window_get_frame_extents(). (No icon support yet though.)
+
+ * gtk/gtkwindow.c (gtk_window_get_position):
+ If window->frame is set get the extents of it instead.
+
Fri Sep 7 18:50:59 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.c (gtk_widget_get_default_colormap):
+2001-09-07 Alex Larsson <alexl@redhat.com>
+
+ * gdk/linux-fb/gdkcolor-fb.c:
+ Removed unused function.
+
+ * gdk/linux-fb/gdkdrawable-fb2.c
+ * gdk/linux-fb/gdkfont-fb.c:
+ Use PangoLanguage functions.
+
+ * gdk/linux-fb/gdkinput.c:
+ * gdk/linux-fb/gdkselection-fb.c:
+ Fix const warnings.
+
+ * gdk/linux-fb/gdkwindow-fb.c:
+ Fix warning. Implement gdk_window_set_icon_list() and
+ gdk_window_get_frame_extents(). (No icon support yet though.)
+
+ * gtk/gtkwindow.c (gtk_window_get_position):
+ If window->frame is set get the extents of it instead.
+
Fri Sep 7 18:50:59 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.c (gtk_widget_get_default_colormap):
+2001-09-07 Alex Larsson <alexl@redhat.com>
+
+ * gdk/linux-fb/gdkcolor-fb.c:
+ Removed unused function.
+
+ * gdk/linux-fb/gdkdrawable-fb2.c
+ * gdk/linux-fb/gdkfont-fb.c:
+ Use PangoLanguage functions.
+
+ * gdk/linux-fb/gdkinput.c:
+ * gdk/linux-fb/gdkselection-fb.c:
+ Fix const warnings.
+
+ * gdk/linux-fb/gdkwindow-fb.c:
+ Fix warning. Implement gdk_window_set_icon_list() and
+ gdk_window_get_frame_extents(). (No icon support yet though.)
+
+ * gtk/gtkwindow.c (gtk_window_get_position):
+ If window->frame is set get the extents of it instead.
+
Fri Sep 7 18:50:59 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.c (gtk_widget_get_default_colormap):
+2001-09-07 Alex Larsson <alexl@redhat.com>
+
+ * gdk/linux-fb/gdkcolor-fb.c:
+ Removed unused function.
+
+ * gdk/linux-fb/gdkdrawable-fb2.c
+ * gdk/linux-fb/gdkfont-fb.c:
+ Use PangoLanguage functions.
+
+ * gdk/linux-fb/gdkinput.c:
+ * gdk/linux-fb/gdkselection-fb.c:
+ Fix const warnings.
+
+ * gdk/linux-fb/gdkwindow-fb.c:
+ Fix warning. Implement gdk_window_set_icon_list() and
+ gdk_window_get_frame_extents(). (No icon support yet though.)
+
+ * gtk/gtkwindow.c (gtk_window_get_position):
+ If window->frame is set get the extents of it instead.
+
Fri Sep 7 18:50:59 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.c (gtk_widget_get_default_colormap):
+2001-09-07 Alex Larsson <alexl@redhat.com>
+
+ * gdk/linux-fb/gdkcolor-fb.c:
+ Removed unused function.
+
+ * gdk/linux-fb/gdkdrawable-fb2.c
+ * gdk/linux-fb/gdkfont-fb.c:
+ Use PangoLanguage functions.
+
+ * gdk/linux-fb/gdkinput.c:
+ * gdk/linux-fb/gdkselection-fb.c:
+ Fix const warnings.
+
+ * gdk/linux-fb/gdkwindow-fb.c:
+ Fix warning. Implement gdk_window_set_icon_list() and
+ gdk_window_get_frame_extents(). (No icon support yet though.)
+
+ * gtk/gtkwindow.c (gtk_window_get_position):
+ If window->frame is set get the extents of it instead.
+
Fri Sep 7 18:50:59 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.c (gtk_widget_get_default_colormap):
return colormap;
}
-#define MIN_SYNC_TIME 2
-
-static void
-gdk_colormap_sync (GdkColormap *colormap,
- gboolean force)
-{
-
-}
-
GdkColormap*
gdk_colormap_get_system (void)
{
{
gunichar wc = g_utf8_get_char (p);
p = g_utf8_next_char (p);
- shaper = pango_font_find_shaper (private->pango_font, "fr", wc);
+ shaper = pango_font_find_shaper (private->pango_font, pango_language_from_string ("fr"), wc);
if (shaper != last_shaper)
{
analysis.shape_engine = shaper;
{
gunichar wc = g_utf8_get_char (p);
p = g_utf8_next_char (p);
- shaper = pango_font_find_shaper (private->pango_font, "fr", wc);
+ shaper = pango_font_find_shaper (private->pango_font, pango_language_from_string ("fr"), wc);
if (shaper != last_shaper)
{
analysis.shape_engine = shaper;
#include "gdkprivate.h"
#include "gdkinputprivate.h"
-static const GdkDeviceAxis gdk_input_core_axes[] = {
+static GdkDeviceAxis gdk_input_core_axes[] = {
{ GDK_AXIS_X, 0, 0 },
{ GDK_AXIS_Y, 0, 0 }
};
#include "gdkkeysyms.h"
#include "gdkprivate-fb.h"
#include <stdlib.h>
+#include <unistd.h>
#include <string.h>
#include <ctype.h>
#include <termios.h>
gchar **local_list;
gint local_count;
gint i;
- gchar *charset = NULL;
+ const gchar *charset = NULL;
gboolean need_conversion = !g_get_charset (&charset);
gint count = 0;
GError *error = NULL;
gdk_window_set_type_hint (GdkWindow *window,
GdkWindowTypeHint hint)
{
- GdkAtom atom;
-
g_return_if_fail (window != NULL);
g_return_if_fail (GDK_IS_WINDOW (window));
}
{
g_return_if_fail (GDK_IS_WINDOW (window));
}
+
+void
+gdk_window_set_icon_list (GdkWindow *window,
+ GList *pixbufs)
+{
+ /* We don't support icons right now */
+}
+
+/* No need to care about frames. Decoration is done by GtkWindow */
+void
+gdk_window_get_frame_extents (GdkWindow *window,
+ GdkRectangle *rect)
+{
+ g_return_val_if_fail (window != NULL, 0);
+
+ rect->x = GDK_DRAWABLE_IMPL_FBDATA (window)->abs_x;
+ rect->y = GDK_DRAWABLE_IMPL_FBDATA (window)->abs_y;
+ rect->width = GDK_DRAWABLE_IMPL_FBDATA (window)->width;
+ rect->height = GDK_DRAWABLE_IMPL_FBDATA (window)->height;
+
+ return TRUE;
+}
if (GTK_WIDGET_MAPPED (widget))
{
- gdk_window_get_frame_extents (widget->window, &frame_extents);
+ if (window->frame)
+ gdk_window_get_frame_extents (window->frame, &frame_extents);
+ else
+ gdk_window_get_frame_extents (widget->window, &frame_extents);
x = frame_extents.x;
y = frame_extents.y;
gtk_window_get_size (window, &w, &h);