]> Pileus Git - ~andy/gtk/log
~andy/gtk
21 years agoMark abstract types as G_TYPE_FLAG_ABSTRACT. (#72383)
Matthias Clasen [Sat, 21 Sep 2002 23:26:14 +0000 (23:26 +0000)]
Mark abstract types as G_TYPE_FLAG_ABSTRACT. (#72383)

* gdk/gdkdraw.c (gdk_drawable_get_type):
* gdk/gdkgc.c (gdk_gc_get_type):
* gtk/gtkmenushell.c (gtk_menu_shell_get_type):
* gtk/gtkimcontext.c (gtk_im_context_get_type):
* gtk/gtkprogress.c (gtk_progress_get_type):
* gtk/gtkoldeditable.c (gtk_old_editable_get_type):
* gtk/gtkcellrenderer.c (gtk_cell_renderer_get_type):
* gtk/gtkwidget.c (gtk_widget_get_type):
* gtk/gtkseparator.c (gtk_separator_get_type):
* gtk/gtkscrollbar.c (gtk_scrollbar_get_type):
* gtk/gtkscale.c (gtk_scale_get_type):
* gtk/gtkrange.c (gtk_range_get_type):
* gtk/gtkpaned.c (gtk_paned_get_type):
* gtk/gtkmisc.c (gtk_misc_get_type):
* gtk/gtkitem.c (gtk_item_get_type):
* gtk/gtkcontainer.c (gtk_container_get_type):
* gtk/gtkbbox.c (gtk_button_box_get_type):
* gtk/gtkbox.c (gtk_box_get_type):
* gtk/gtkbin.c (gtk_bin_get_type):
* gtk/gtkobject.c (gtk_object_get_type): Mark abstract types as
G_TYPE_FLAG_ABSTRACT.  (#72383)

21 years agoCopy from X11 backend. The old version mishandled consecutive newlines.
Tor Lillqvist [Sat, 21 Sep 2002 12:59:31 +0000 (12:59 +0000)]
Copy from X11 backend. The old version mishandled consecutive newlines.

2002-09-21  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkselection-win32.c (sanitize_utf8): Copy from X11
backend. The old version mishandled consecutive newlines.

* tests/testgtkrc: Remove obsolete mention of gtk-engines and
Pixmap theme engine on Win32.

21 years agoSet the IM context client window to NULL, not to the window that is about
Owen Taylor [Fri, 20 Sep 2002 22:06:28 +0000 (22:06 +0000)]
Set the IM context client window to NULL, not to the window that is about

Fri Sep 20 18:01:26 2002  Owen Taylor  <otaylor@redhat.com>
        * gtk/gtkentry.c (gtk_entry_unrealize): Set the IM
        context client  window to NULL, not to the window that
        is about to be destroyed. (#88231)

21 years agoFri Sep 20 16:56:54 2002 Owen Taylor <otaylor@redhat.com> ...
Owen Taylor [Fri, 20 Sep 2002 21:03:43 +0000 (21:03 +0000)]
Fri Sep 20 16:56:54 2002  Owen Taylor  <otaylor@redhat.com>                                                                                                             * gtk/gtkrc.c (gtk_rc_reparse_all_for_settings):                                Return TRUE if force_load was specified. (#93738,                               Vitaly Tishkov.)

21 years agoOn Win32, look explicitly for LANG, LC_ALL and LC_CTYPE, and if not found,
Tor Lillqvist [Thu, 19 Sep 2002 23:29:30 +0000 (23:29 +0000)]
On Win32, look explicitly for LANG, LC_ALL and LC_CTYPE, and if not found,

2002-09-20  Tor Lillqvist  <tml@iki.fi>

* gtk/gtkmain.c (gtk_get_default_language): On Win32, look
explicitly for LANG, LC_ALL and LC_CTYPE, and if not found, use
g_win32_getlocale(). The setlocale() in msvcrt.dll would return a
locale name in the form Swedish_Finland for sv_FI.

21 years agoDelete leftover declarations of the obsolete Win32-only functions
Tor Lillqvist [Thu, 19 Sep 2002 23:27:10 +0000 (23:27 +0000)]
Delete leftover declarations of the obsolete Win32-only functions

2002-09-20  Tor Lillqvist  <tml@iki.fi>

* gdk/gdkfont.h: Delete leftover declarations of the obsolete
Win32-only functions gdk_font_full_name_get() and
gdk_font_full_name_free().

* gdk/gdk.def: Delete from here, too.

* gdk/win32/gdkfont-win32.c (logfont_to_xlfd,
gdk_font_full_name_get, gdk_font_full_name_free): Delete
implementation, and helper functions.

(pattern_match, InnerEnumFontFamExProc, EnumFontFamExProc,
gdk_font_list_new, gdk_font_list_free): Delete unused functions.

(gdk_text_width, gdk_text_width_wc) Instead of code duplication,
let gdk_text_extents() and gdk_text_extents_wc() do the job.

* gdk/win32/gdkgc-win32.c (gdk_win32_gc_values_to_win32values):
Don't use the above removed functions in debugging output.

* gdk/win32/gdkdisplay-win32.c
* gdk/win32/gdkmain-win32.c
* gdk/win32/gdkprivate-win32.h
* gdk/win32/gdkselection-win32.c
* gdk/win32/gdkinput-win32.h
* gdk/win32/gdkinput.c: Make it compile again, pass a GdkDisplay in
a couple of places.

21 years agoRemove the _-prefix from gdk_pixbuf_set_option and
Matthias Clasen [Thu, 19 Sep 2002 21:00:52 +0000 (21:00 +0000)]
Remove the _-prefix from gdk_pixbuf_set_option and
gdk_pixbuf_non_anim_new again.

21 years agoFix usage of compat GTK_TYPE_ macros without including gtkobject.h.
Owen Taylor [Thu, 19 Sep 2002 20:52:42 +0000 (20:52 +0000)]
Fix usage of compat GTK_TYPE_ macros without including gtkobject.h.

Thu Sep 19 16:39:29 2002  Owen Taylor  <otaylor@redhat.com>
        * gtk/gtksettings.h (GTK_SETTINGS_GET_CLASS): Fix
        usage of compat GTK_TYPE_ macros without including
        gtkobject.h.

        * gdk/x11/gdkevents-x11.[ch]: Set a flag when initializing
        to avoid having extra settings-notify events sent
        when not needed.

21 years ago_-prefix gdk_pixbuf_non_anim_new and gdk_pixbuf_set_option. Adjust all
Matthias Clasen [Tue, 17 Sep 2002 22:52:44 +0000 (22:52 +0000)]
_-prefix gdk_pixbuf_non_anim_new and gdk_pixbuf_set_option. Adjust all

* io-xpm.c, io-xbm.c, io-ico.c, io-ani.c, io-png.c,
gdk-pixbuf.c, gdk-pixbuf-animation.c, gdk-pixbuf-loader.c,
gdk-pixbuf-private.h: _-prefix gdk_pixbuf_non_anim_new and
gdk_pixbuf_set_option. Adjust all callers.

21 years agoStockify color picker icon. (#89880)
Matthias Clasen [Mon, 16 Sep 2002 22:52:22 +0000 (22:52 +0000)]
Stockify color picker icon. (#89880)

* gtk/stock-icons/stock_color_picker_25.png:
* gtk/stock-icons/Makefile.am (VARIABLES1):
* gtk/gtkstock.h (GTK_STOCK_COLOR_PICKER):
* gtk/gtkiconfactory.c (get_default_icons):
* gtk/gtkcolorsel.c (gtk_color_selection_init): Stockify color
picker icon.   (#89880)

21 years agoAdd the one missing example from the tutorial, colorsel, to source control.
Matthias Clasen [Mon, 16 Sep 2002 22:03:32 +0000 (22:03 +0000)]
Add the one missing example from the tutorial, colorsel, to source control.

21 years agofixed my latest change.
Sven Neumann [Sat, 14 Sep 2002 17:10:49 +0000 (17:10 +0000)]
fixed my latest change.

2002-09-14  Sven Neumann  <sven@gimp.org>

* gdk/gdkpixbuf-drawable.c: fixed my latest change.

21 years agoadded makefile.msc to EXTRA_DIST
Hans Breuer [Sat, 14 Sep 2002 10:50:03 +0000 (10:50 +0000)]
added makefile.msc to EXTRA_DIST

2002-09-14  Hans Breuer  <hans@breuer.org>

* pixops/Makefile.am : added makefile.msc to EXTRA_DIST

21 years agouse the most significant bits of the GdkColor components (#89703).
Sven Neumann [Fri, 13 Sep 2002 16:11:50 +0000 (16:11 +0000)]
use the most significant bits of the GdkColor components (#89703).

2002-09-13  Sven Neumann  <sven@gimp.org>

* gdk/gdkpixbuf-drawable.c: use the most significant bits of the
GdkColor components (#89703).

21 years agoMove GdkPixbufFrame from the public header to the gif-animation-specific
Matthias Clasen [Thu, 12 Sep 2002 21:42:10 +0000 (21:42 +0000)]
Move GdkPixbufFrame from the public header to the gif-animation-specific

* io-gif-animation.h:
* gdk-pixbuf.h: Move GdkPixbufFrame from the public header to
the gif-animation-specific private header.  (#91929)

21 years agoUnref the pixbuf if we hit an unsupported colorspace.
Federico Mena Quintero [Thu, 12 Sep 2002 20:05:28 +0000 (20:05 +0000)]
Unref the pixbuf if we hit an unsupported colorspace.

2002-09-12  Federico Mena Quintero  <federico@ximian.com>

* io-jpeg.c (gdk_pixbuf__jpeg_image_load): Unref the pixbuf if we
hit an unsupported colorspace.

21 years agoMerge from gtk-2-0:
Tor Lillqvist [Wed, 11 Sep 2002 21:55:48 +0000 (21:55 +0000)]
Merge from gtk-2-0:

2002-09-12  Tor Lillqvist  <tml@iki.fi>

Merge from gtk-2-0:

* gdk/win32/gdkkeys-win32.c (print_keysym_tab): Factor out
debugging output to new function.

21 years agoMerge from gtk-1-3-win32-production and gtk-2-0:
Tor Lillqvist [Wed, 11 Sep 2002 21:51:59 +0000 (21:51 +0000)]
Merge from gtk-1-3-win32-production and gtk-2-0:

2002-09-12  Tor Lillqvist  <tml@iki.fi>

Merge from gtk-1-3-win32-production and gtk-2-0:

* gdk/win32/gdkinput-win32.c (gdk_input_init): Use
GetSystemMetrics (SM_C[XY]SCREEN) instead of
gdk_screen_{width,height}().

* gdk/win32/gdkselection-win32.c (gdk_selection_convert): Don't
use return value from GlobalSize() as length of string when
calling MultiByteToWideChar(). Pass -1 instead (zero-terminated
string). Thanks to Iwasa Kazmi.

21 years agoUse correct function name in warning messages.
Tor Lillqvist [Wed, 11 Sep 2002 21:23:44 +0000 (21:23 +0000)]
Use correct function name in warning messages.

2002-09-12  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkinput-win32.c (gdk_input_wintab_init): Use correct
function name in warning messages.

21 years agoMerge from gtk-2-0:
Tor Lillqvist [Wed, 11 Sep 2002 21:20:11 +0000 (21:20 +0000)]
Merge from gtk-2-0:

2002-09-12  Tor Lillqvist  <tml@iki.fi>

Merge from gtk-2-0:

* gdk/win32/gdkgeometry-win32.c: Add GDK_NOTE debugging output
to some functions, related to moving and resizing and expose
and antiexpose queue processing. Use %p to output HWNDs.

Tentative fix for #79720 based on code by Florent Duguet:

* gdk/win32/gdkgeometry-win32 (gdk_window_queue_append): New
static function. Checks length of translate_queue, calls
_gdk_window_process_expose() if length is >= 128. Then appends
to translate_queue.
(gdk_window_queue_translation,_gdk_windowing_window_queue_antiexpose):
Call gdk_window_queue_append().

21 years agoMerge from gtk-2-0:
Tor Lillqvist [Wed, 11 Sep 2002 20:59:04 +0000 (20:59 +0000)]
Merge from gtk-2-0:

2002-09-12  Tor Lillqvist  <tml@iki.fi>

Merge from gtk-2-0:

* gdk/win32/gdkevents-win32.c: Some spacing and indentation cleanup.

* gdk/win32/gdkevents-win32.c (_gdk_events_init): Search if the
system has some input locale identifier that uses a Latin
keyboard. This is needed to be able to get the virtual-key code
for the latin characters corresponding to ASCII control
characters. If no such keyboard is present, try to load one
then. Will this upset users with no wish to ever use a Latin-based
keyboard layout?

(vk_from_char): Convert all ASCII control chars to the
corresponding uppercase char before calling VkKeyScanEx(). Idea by
Florent Duguet. Makes Control-C work again. To make it hopefully
work like I think it should on non-Latin keyboards, too, use
latin_locale when looking for the corresponding keycode.

Fix for #81831 by Tim Evans:

* gdk/win32/gdkevents-win32.c (gdk_event_translate): Don't call
_gdk_event_button_generate() here, it would append the double- or
triple-click events too early, before the single-click event.

(real_window_procedure): If we got a single-click event, call
_gdk_event_button_generate() to perhaps append the double- or
triple-click event after that.

Merge from gtk-1-3-win32-production branch:

* gdk/win32/gdkevents-win32.c (propagate): Check for parent being
NULL before trying to propagate to it, and return FALSE in that
case. (If parent is NULL, we are handling gdk_parent_root, and
probably should have noticed that and bailed out earlier. But
better late than never.)

21 years agoMerge from gtk-2-0:
Tor Lillqvist [Wed, 11 Sep 2002 20:51:05 +0000 (20:51 +0000)]
Merge from gtk-2-0:

2002-09-12  Tor Lillqvist  <tml@iki.fi>

Merge from gtk-2-0:

* gdk/win32/gdkdrawable-win32.c (render_line_horizontal,
render_line_vertical): Some spacing cleanup. Return TRUE.

21 years agoMake GtkTreeRowReference a boxed type.
Jonathan Blandford [Wed, 11 Sep 2002 19:52:31 +0000 (19:52 +0000)]
Make GtkTreeRowReference a boxed type.

Wed Sep 11 15:48:38 2002  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreemodel.c (gtk_tree_row_reference_get_type): Make
GtkTreeRowReference a boxed type.

* gtk/gtkliststore.c (gtk_list_store_finalize): free the root
list.

* gtk/gtktreestore.c (gtk_tree_store_finalize): free the root
nodes.

21 years agoDraw radio buttons more symmetric. Draw shadow out bevels slightly
Soeren Sandmann [Wed, 11 Sep 2002 10:40:57 +0000 (10:40 +0000)]
Draw radio buttons more symmetric. Draw shadow out bevels slightly

Wed Sep 11 12:33:34 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtkstyle.c: Draw radio buttons more symmetric. Draw shadow
out bevels slightly different. Fix drawing of top right corner of
etched in shadows.

21 years agomodify a warning when XSetLocaleModifiers() fails, and add a warning when
Hidetoshi Tajima [Tue, 10 Sep 2002 16:49:44 +0000 (16:49 +0000)]
modify a warning when XSetLocaleModifiers() fails, and add a warning when

* modules/input/gtkimcontextxim.c
(get_im): modify a warning when XSetLocaleModifiers() fails, and
add a warning when XOpenIM() fails
(gtk_im_context_xim_filter_keypress): use XLookupString when xic
is not available. (#90661)
(gtk_im_context_xim_get_ic, gtk_im_with_preedit,
gtk_im_without_preeedit): filter key release events only when
input methods ask for (#81759)

21 years agoPatch from Eric Warmonhoven to get linux-fb compiling with multihead
Owen Taylor [Tue, 10 Sep 2002 15:19:13 +0000 (15:19 +0000)]
Patch from Eric Warmonhoven to get linux-fb compiling with multihead

Tue Sep 10 11:11:09 2002  Owen Taylor  <otaylor@redhat.com>
        * gdk/linux-fb/*: Patch from Eric Warmonhoven to
        get linux-fb compiling with multihead changes.

21 years agoTake focus mode into account when tracking FocusIn/Out events, so we don't
Owen Taylor [Tue, 10 Sep 2002 13:45:18 +0000 (13:45 +0000)]
Take focus mode into account when tracking FocusIn/Out events, so we don't

Tue Sep 10 09:29:00 2002  Owen Taylor  <otaylor@redhat.com>
        * gdk/x11/gdkevents-x11.c (gdk_event_translate): Take
        focus mode into account when tracking FocusIn/Out events,
        so we don't get confused by focus changes while a
        keyboard grab is in effect. (Probably fixes #90563)

21 years ago"Translate" "default:LTR" correctly. ..doh..
Yanko Kaneti [Mon, 9 Sep 2002 23:59:44 +0000 (23:59 +0000)]
"Translate" "default:LTR" correctly. ..doh..

2002-09-09  Yanko Kaneti <yaneti@declera.com>

   * bg.po: "Translate" "default:LTR" correctly. ..doh..

21 years agoIf the end iter is also a part of the selection, then we are in the
Shivram U [Mon, 9 Sep 2002 10:32:58 +0000 (10:32 +0000)]
If the end iter is also a part of the selection, then we are in the

Mon Sep  9 16:16:25 2002  Shivram U  <shivaram.upadhyayula@wipro.com>

* gtk/gtktextview.c (gtk_text_view_drag_motion): If the end iter
is also a part of the selection, then we are in the selection.
(#92768)

21 years agoAdd AM_CONDITIONAL calls also in the non-x11 branch. Otherwise we get
Tor Lillqvist [Sun, 8 Sep 2002 07:46:15 +0000 (07:46 +0000)]
Add AM_CONDITIONAL calls also in the non-x11 branch. Otherwise we get

2002-09-08  Tor Lillqvist  <tml@iki.fi>

* configure.in: Add AM_CONDITIONAL calls also in the non-x11
branch. Otherwise we get "conditional \"$1\" was never defined.
Usually this means the macro was only invoked conditionally."
errors when running configure if using automake 1.6a. Yeah, I know
that autogen.sh says to use automake 1.4, but on Win32 I more or
less have to use the bleeding edge. I think.

Fix an earlier ChangeLog entry to include the file name:

2002-08-31  Tor Lillqvist  <tml@iki.fi>

* gtk/gtkfilesel.c: Include <sys/cygwin.h on Cygwin, for

21 years agocall gtk_widget_ensure_style() before reading "button_relief". Fixes
Soeren Sandmann [Sat, 7 Sep 2002 20:44:26 +0000 (20:44 +0000)]
call gtk_widget_ensure_style() before reading "button_relief". Fixes

Sat Sep  7 21:24:55 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtktoolbar.c (get_button_relief): call
gtk_widget_ensure_style() before reading "button_relief". Fixes
(#92741).

21 years agoUpdate ChangeLog credits
Owen Taylor [Sat, 7 Sep 2002 00:38:31 +0000 (00:38 +0000)]
Update ChangeLog credits

21 years agoAccount for the possibility of detail == NULL (#89561, Hongli Lai)
Owen Taylor [Sat, 7 Sep 2002 00:35:57 +0000 (00:35 +0000)]
Account for the possibility of detail == NULL (#89561, Hongli Lai)

Fri Sep  6 20:32:45 2002  Owen Taylor  <otaylor@redhat.com>

* pixbuf-draw.c: Account for the possibility of detail == NULL
(#89561, Hongli Lai)

21 years agoAdd ani to all_loaders.
Matthias Clasen [Fri, 6 Sep 2002 21:18:23 +0000 (21:18 +0000)]
Add ani to all_loaders.

* configure.in: Add ani to all_loaders.

21 years ago*** empty log message ***
Matthias Clasen [Fri, 6 Sep 2002 21:14:33 +0000 (21:14 +0000)]
*** empty log message ***

21 years agoNew loader, for .ANI animations.
Matthias Clasen [Fri, 6 Sep 2002 21:14:15 +0000 (21:14 +0000)]
New loader, for .ANI animations.

* io-ani.c, io-ani-animation.h, io-ani-animation.c,
pixbufloader_ani.def, Makefile.am, gdk-pixbuf-io.c: New loader,
for .ANI animations.

21 years agoAttach hotspot coordinates to the pixbuf as options "x_hot" and "y_hot".
Matthias Clasen [Fri, 6 Sep 2002 21:09:49 +0000 (21:09 +0000)]
Attach hotspot coordinates to the pixbuf as options "x_hot" and "y_hot".

* io-xpm.c (pixbuf_create_from_xpm):
* io-xbm.c (gdk_pixbuf__xbm_image_load_real):
* io-ico.c (DecodeHeader): Attach hotspot coordinates to the
pixbuf as options "x_hot" and "y_hot".

21 years agoFri Sep 6 15:59:54 2002 Owen Taylor <otaylor@redhat.com> * gdk/gdkdisplay...
Owen Taylor [Fri, 6 Sep 2002 20:01:06 +0000 (20:01 +0000)]
Fri Sep  6 15:59:54 2002  Owen Taylor  <otaylor@redhat.com>        * gdk/gdkdisplay.h: Remove unused prototype for        gdk_set_default_display        (=> gdk_display_manager_set_default_display)        (#90616, Matthias Clasen)

21 years agoOnly set gc->colormap if it isn't already set. (Alex Larsson, #90632)
Owen Taylor [Fri, 6 Sep 2002 19:36:09 +0000 (19:36 +0000)]
Only set gc->colormap if it isn't already set. (Alex Larsson, #90632)

Fri Sep  6 15:35:01 2002  Owen Taylor  <otaylor@redhat.com>
        * gdk/gdkgc.c (gdk_gc_new_with_values): Only set
        gc->colormap if it isn't already set. (Alex Larsson,
        #90632)

21 years agoPass the actual input keycode to XIM, rather than the result of
Owen Taylor [Fri, 6 Sep 2002 16:48:40 +0000 (16:48 +0000)]
Pass the actual input keycode to XIM, rather than the result of

Fri Sep  6 12:41:16 2002  Owen Taylor  <otaylor@redhat.com>
        * modules/input/gtkimcontextxim.c: Pass the actual input
        keycode to XIM, rather than the result of backconverting
        the keysym. Fixes the <> input problem! (#74922)

        * gtk/gtkimmodule.c: Fix bug where GTK_IM_MODULE environment
        variable couldn't be used to force the input method to
        the default input method.

21 years agofix non-solaris xinerama checks (bug #89732)
jacob berkman [Thu, 5 Sep 2002 20:05:23 +0000 (20:05 +0000)]
fix non-solaris xinerama checks (bug #89732)

2002-09-05  jacob berkman  <jacob@ximian.com>

* configure.in: fix non-solaris xinerama checks (bug #89732)

21 years agoget automake-1.4 changes from -2-0 branch
jacob berkman [Thu, 5 Sep 2002 20:00:07 +0000 (20:00 +0000)]
get automake-1.4 changes from -2-0 branch

2002-09-05  jacob berkman  <jacob@ximian.com>

* autogen.sh: get automake-1.4 changes from -2-0 branch

21 years agoUse HWND_NOTOPMOST instead of HWND_TOPMOST. Suggested by Florent Duguet.
Tor Lillqvist [Wed, 4 Sep 2002 21:45:38 +0000 (21:45 +0000)]
Use HWND_NOTOPMOST instead of HWND_TOPMOST. Suggested by Florent Duguet.

2002-09-05  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkwindow-win32.c (gdk_window_set_transient_for):
Use HWND_NOTOPMOST instead of HWND_TOPMOST. Suggested by Florent
Duguet.

21 years agoFix braino, actually do check each char, not just the first one, when
Tor Lillqvist [Wed, 4 Sep 2002 21:14:37 +0000 (21:14 +0000)]
Fix braino, actually do check each char, not just the first one, when

2002-09-05  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkproperty-win32.c (gdk_property_change): Fix braino,
actually do check each char, not just the first one, when looping
through the text looking to insert CR in front of each LF. Bug
noticed and fix provided by Florent Duguet.

21 years agoQuit on destroy.
Matthias Clasen [Tue, 3 Sep 2002 23:51:36 +0000 (23:51 +0000)]
Quit on destroy.

* demos/testanimation.c (do_image):
(do_nonprogressive): Quit on destroy.

* demos/testpixbuf.c (main): test load-at-size.
(expose_func): draw transparent pixbufs against a checkerboard
pattern. (#91829)

21 years agoDon't leak memory if g_try_realloc fails.
Matthias Clasen [Tue, 3 Sep 2002 23:43:21 +0000 (23:43 +0000)]
Don't leak memory if g_try_realloc fails.

* io-tga.c (io_buffer_append):
* io-ico.c (DecodeHeader):
* io-bmp.c (grow_buffer): Don't leak memory if g_try_realloc fails.

* gdk-pixbuf-io.c (pixbuf_check_ico): Fix loading of .CUR files.
(#91826)

21 years agoChangeLog fix
Søren Sandmann Pedersen [Sun, 1 Sep 2002 13:02:29 +0000 (13:02 +0000)]
ChangeLog fix

21 years agodocs/reference/gtk/tmpl/gtkdialog.sgml
Soeren Sandmann [Sun, 1 Sep 2002 12:34:21 +0000 (12:34 +0000)]
docs/reference/gtk/tmpl/gtkdialog.sgml

2002-09-01  Soeren Sandmann  <ssp@localhost.localdomain>

* docs/reference/gtk/tmpl/gtkdialog.sgml
docs/reference/gtk/tmpl/gtkhbbox.sgml
docs/reference/gtk/tmpl/gtkvbbox.sgml
docs/reference/gtk/tmpl/gtktogglebutton.sgml
docs/reference/gtk/tmpl/gtktreeselection.sgml
gtk/gtktextbuffer.c
gtk/gtktogglebutton.c
gtk/gtktreesortable.c

Minor documentation fixes:

#79107, #82854, #76398, Vitaly Tishkov;
#88627, Brian Tarricone;
#81046, Owen Taylor

21 years agoOn Cygwin, open /dev/windows instead of using the magic G_WIN32_MSG_HANDLE
Tor Lillqvist [Sat, 31 Aug 2002 18:06:02 +0000 (18:06 +0000)]
On Cygwin, open /dev/windows instead of using the magic G_WIN32_MSG_HANDLE

2002-08-31  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkevents-win32.c (_gdk_events_init): On Cygwin, open
/dev/windows instead of using the magic G_WIN32_MSG_HANDLE fd that
is implemented (in GLib) only on native Win32. (#91683, Masahiro
Sakai)

21 years agoUse cygwin_conv_to_posix_path(). (gtk_file_selection_dir_activate): Call
Tor Lillqvist [Sat, 31 Aug 2002 17:33:43 +0000 (17:33 +0000)]
Use cygwin_conv_to_posix_path(). (gtk_file_selection_dir_activate): Call

2002-08-31  Tor Lillqvist  <tml@iki.fi>

* Include <sys/cygwin.h on Cygwin, for cygwin_conv_to_posix_path().
(translate_win32_path, get_real_filename): Use
cygwin_conv_to_posix_path().
(gtk_file_selection_dir_activate): Call get_real_filename() here,
too. (#91843, Masahiro Sakai)

21 years agoUse MAX_PATH (from windef.h) insted of _MAX_PATH (from stdlib.h in mingw
Tor Lillqvist [Mon, 26 Aug 2002 20:00:36 +0000 (20:00 +0000)]
Use MAX_PATH (from windef.h) insted of _MAX_PATH (from stdlib.h in mingw

2002-08-26  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Use MAX_PATH
(from windef.h) insted of _MAX_PATH (from stdlib.h in mingw and
MSVC, but not there in Cygwin) (#91681, Masahiro Sakai).

21 years agocleanups
BST 2002 Tony Gale [Mon, 26 Aug 2002 11:35:57 +0000 (11:35 +0000)]
cleanups

Mon Aug 26 12:21:16 BST 2002  Tony Gale <gale@gtk.org>

        * docs/tutorial/package-db-tutorial.sh: cleanups

        * docs/tutorial/gtk-tut.sgml: new content for the
        ItemFactory section. Originally from Robert Cleaver Ancell.

21 years agoDon't include <winsock.h> on Cygwin (#91654, Masahiro Sakai).
Tor Lillqvist [Sun, 25 Aug 2002 20:28:47 +0000 (20:28 +0000)]
Don't include <winsock.h> on Cygwin (#91654, Masahiro Sakai).

2002-08-25  Tor Lillqvist  <tml@iki.fi>

* gtk/gtkfilesel.c: Don't include <winsock.h> on Cygwin (#91654,
Masahiro Sakai).

21 years agoCompile gtk_init_abi_check and gtk_init_check_abi_check when on
Tor Lillqvist [Sun, 25 Aug 2002 19:27:24 +0000 (19:27 +0000)]
Compile gtk_init_abi_check and gtk_init_check_abi_check when on

2002-08-25  Tor Lillqvist  <tml@iki.fi>

* gtk/gtkmain.c: Compile gtk_init_abi_check and
gtk_init_check_abi_check when on G_PLATFORM_WIN32, not just on
G_OS_WIN32, to match gtkmain.h (#91649, Masahiro Sakai).
(check_sizeof_GtkWIndow, check_sizeof_GtkBox): Mention the
-mms-bitfields swicth in addition to -fnative-struct.

21 years agoupdate packaging script for current tutorial
BST 2002 Tony Gale [Sun, 25 Aug 2002 11:28:42 +0000 (11:28 +0000)]
update packaging script for current tutorial

Sun Aug 25 11:58:27 BST 2002  Tony Gale <gale@gtk.org>

* docs/tutorial/package-db-tutorial.sh:
update packaging script for current tutorial

* docs/tutorial/images/*.eps: New Files
EPS versions of the tutorial images

21 years agoInclude gtkbox.h and gtkwindow.h on Win32, as the defines for struct
Tor Lillqvist [Sat, 24 Aug 2002 23:06:16 +0000 (23:06 +0000)]
Include gtkbox.h and gtkwindow.h on Win32, as the defines for struct

2002-08-25  Tor Lillqvist  <tml@iki.fi>

* gtk/gtkmain.h: Include gtkbox.h and gtkwindow.h on Win32, as the
defines for struct packing checks use sizeof() on stuff from
these. (#84211, Andreas Holzmann)

21 years agoAdd gtk_win32res_lo. (#87101, J. Ali Harlow)
Tor Lillqvist [Sat, 24 Aug 2002 22:54:07 +0000 (22:54 +0000)]
Add gtk_win32res_lo. (#87101, J. Ali Harlow)

2002-08-25  Tor Lillqvist  <tml@iki.fi>

* gtk/Makefile.am (libgtk_win32_2_0_la_DEPENDENCIES): Add
gtk_win32res_lo. (#87101, J. Ali Harlow)

* gdk-pixbuf/Makefile.am (libgdk_pixbuf_2_0_la_DEPENDENCIES): Add
gdk_pixbuf_win32res_lo. (#87101, J. Ali Harlow)

21 years agogdk/gdkevents.c gdk/gdkinternals.h gdk/x11/gdkevents-x11.c Move the
Tor Lillqvist [Sat, 24 Aug 2002 22:03:46 +0000 (22:03 +0000)]
gdk/gdkevents.c gdk/gdkinternals.h gdk/x11/gdkevents-x11.c Move the

2002-08-25  Tor Lillqvist  <tml@iki.fi>

* gdk/gdkevents.c
* gdk/gdkinternals.h
* gdk/x11/gdkevents-x11.c
* gdk/win32/gdkevents-win32.c: Move the GdkEventPrivate and
GdkEventFlags definitions from gdkevents.c to
gdkinternals.h. Remove the duplicated definitions in
gdkevents-x11.c and gdkevents-win32.c. (#89771)

21 years agoLet the system handle Alt-Space, too. Thanks to Tim Evans (#91477).
Tor Lillqvist [Sat, 24 Aug 2002 20:26:59 +0000 (20:26 +0000)]
Let the system handle Alt-Space, too. Thanks to Tim Evans (#91477).

2002-08-24  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkevents-win32.c (gdk_event_translate): Let the
system handle Alt-Space, too. Thanks to Tim Evans (#91477).

21 years agoupdate g_connect_signal usage
BST 2002 Tony Gale [Sat, 24 Aug 2002 11:53:26 +0000 (11:53 +0000)]
update g_connect_signal usage

Sat Aug 24 12:46:37 BST 2002  Tony Gale <gale@gtk.org>

        * docs/tutorial/gtk-tut.sgml, examples/*:
        update g_connect_signal usage

        * docs/faq/gtk-faq.html: spelling/grammar fixes

21 years agogdk-pixbuf-io.c (_gdk_pixbuf_generic_image_load): No longer static, thus
Matthias Clasen [Thu, 22 Aug 2002 21:32:06 +0000 (21:32 +0000)]
gdk-pixbuf-io.c (_gdk_pixbuf_generic_image_load): No longer static, thus

* gdk-pixbuf-io.h:
gdk-pixbuf-io.c (_gdk_pixbuf_generic_image_load): No longer
static, thus _gdk_pixbuf-prefixed.

* gdk-pixbuf-animation.c (gdk_pixbuf_animation_new_from_file):
Keep this logic in sync with gdk_pixbuf_new_from_file().  (Based
on a patch by Anders Carlsson)

* io-png.c (gdk_pixbuf__png_image_save): Plug a memory
leak.  (#91422, Sven Neumann)

21 years agoMove GDK_DEP_LIBS from LDFLAGS to each of the libgdk_*_LIBADD, to fix
Tor Lillqvist [Wed, 21 Aug 2002 18:50:15 +0000 (18:50 +0000)]
Move GDK_DEP_LIBS from LDFLAGS to each of the libgdk_*_LIBADD, to fix

2002-08-21  Tor Lillqvist  <tml@iki.fi>

* gdk/Makefile.am: Move GDK_DEP_LIBS from LDFLAGS to each of the
libgdk_*_LIBADD, to fix problems when cross-compiling, as
suggested by J. Ali Harlow in #87103.

21 years agoFix buglet that sometimes left dirt in corner of the rubberband area.
Soeren Sandmann [Tue, 20 Aug 2002 19:50:19 +0000 (19:50 +0000)]
Fix buglet that sometimes left dirt in corner of the rubberband area.

2002-08-20  Soeren Sandmann  <sandmann@daimi.au.dk>

* libegg/iconlist/eggiconlist.c (rubberbanding): Fix buglet that
sometimes left dirt in corner of the rubberband area.

21 years agoUpdated Persian translation.CVS: -----------------------------------------------...
Roozbeh Pournader [Mon, 19 Aug 2002 23:46:37 +0000 (23:46 +0000)]
Updated Persian translation.CVS: ----------------------------------------------------------------------

21 years agoUpdating Persian translations.
Roozbeh Pournader [Mon, 19 Aug 2002 15:11:08 +0000 (15:11 +0000)]
Updating Persian translations.

21 years agoUse gtk_entry_set_positions() to update current_pos and selection_bound so
Padraig O'Briain [Mon, 19 Aug 2002 14:39:44 +0000 (14:39 +0000)]
Use gtk_entry_set_positions() to update current_pos and selection_bound so

* gtk/gtkentry.c (gtk_entry_real_delete_text): Use
gtk_entry_set_positions() to update current_pos and selection_bound
so notifications are emitted (#90548)

21 years agoswitch vbox and action_area back to the order that 2.0 has
jacob berkman [Fri, 16 Aug 2002 19:04:54 +0000 (19:04 +0000)]
switch vbox and action_area back to the order that 2.0 has

2002-08-16  jacob berkman  <jacob@ximian.com>

* gtk/gtkdialog.h (struct _GtkDialog): switch vbox and action_area
back to the order that 2.0 has

21 years agominor menu example comment fix (feeling my way back in after a long
Tony Gale [Thu, 15 Aug 2002 21:54:41 +0000 (21:54 +0000)]
minor menu example comment fix (feeling my way back in after a long

* docs/tutorial/gtk-tut.sgml, examples/menu/menu.c:
  minor menu example comment fix
  (feeling my way back in after a long absence)

21 years agoinitialize gtk_selection_atoms only once at the 1st call. set length of
Hidetoshi Tajima [Wed, 14 Aug 2002 15:11:41 +0000 (15:11 +0000)]
initialize gtk_selection_atoms only once at the 1st call. set length of

* gtk/gtkselection.c (gtk_selection_init): initialize
gtk_selection_atoms only once at the 1st call.
* gdk/x11/gdkselection-x11.c (gdk_selection_property_get):
set length of selection data from number of read bytes (#90595)

21 years agoMove focus to children, if they exist, after GtkTextView is focused.
Padraig O'Briain [Wed, 14 Aug 2002 08:05:30 +0000 (08:05 +0000)]
Move focus to children, if they exist, after GtkTextView is focused.

* gtk/gtktextview.c (gtk_text_view_focus): Move focus to
children, if they exist, after GtkTextView is focused. (#63844)

21 years agopartial translation update
Gustavo Noronha Silva [Tue, 13 Aug 2002 20:05:44 +0000 (20:05 +0000)]
partial translation update

21 years agoRemove gdk_screen_close, add a section for GdkDisplayManager, add
Matthias Clasen [Mon, 12 Aug 2002 21:34:45 +0000 (21:34 +0000)]
Remove gdk_screen_close, add a section for GdkDisplayManager, add

* gdk/gdk-sections.txt: Remove gdk_screen_close, add a section
for GdkDisplayManager, add gdk_visual_get_screen and
gdk_colormap_get_screen.
* gdk/gdkdisplaymanager.c:
* gdk/gdkdisplay.c (gdk_pointer_ungrab): Fix doc comments.

* gdk/x11/gdkcolor-x11.c (gdk_colormap_get_screen):
* gdk/x11/gdkimage-x11.c (gdk_image_new_bitmap): Make parameter
names match those in the header file, to silence gtk-doc.

21 years agoMention in the docs that @pixmap_return and @mask_return can be %NULL.
Owen Taylor [Sun, 11 Aug 2002 02:20:16 +0000 (02:20 +0000)]
Mention in the docs that @pixmap_return and @mask_return can be %NULL.

Sat Aug 10 22:18:05 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdkpixbuf-render.c
        (gdk_pixbuf_render_pixmap_and_mask[_for_colormap]): Mention
        in the docs that @pixmap_return and @mask_return can
        be %NULL.

21 years agoMinor documentation fixes
Soren Sandmann [Sat, 10 Aug 2002 09:55:41 +0000 (09:55 +0000)]
Minor documentation fixes

2002-08-10  Soren Sandmann  <sandmann@daimi.au.dk>

* docs/reference/gtk/tree_widget.sgml,
docs/reference/gtk/tmpl/gtkdialog.sgml,
docs/reference/gtk/tmpl/gtkentry.sgml,
docs/reference/gtk/tmpl/gtkfilesel.sgml,
docs/reference/gtk/tmpl/gtkfontsel.sgml,
docs/reference/gtk/tmpl/gtkfontseldlg.sgml,
docs/reference/gtk/tmpl/gtktreemodel.sgml,
docs/reference/gtk/tmpl/gtkwidget.sgml, gdk/x11/gdkdisplay-x11.c,
gtk/gtkbbox.c, gtk/gtkbox.c, gtk/gtkbutton.c, gtk/gtkcellrenderer.c,
gtk/gtkcellrendererpixbuf.c, gtk/gtkcellrenderertext.c,
gtk/gtkcheckmenuitem.c, gtk/gtkcontainer.c, gtk/gtkcurve.c,
gtk/gtkdialog.h, gtk/gtkentry.c, gtk/gtkfilesel.c, gtk/gtkfontsel.c,
gtk/gtkframe.c, gtk/gtkhandlebox.c, gtk/gtkiconfactory.c,
gtk/gtkimage.c, gtk/gtkinvisible.c, gtk/gtkitemfactory.c,
gtk/gtklabel.c, gtk/gtklayout.c, gtk/gtkmenu.c, gtk/gtkprogress.c,
gtk/gtkprogressbar.c, gtk/gtkscrolledwindow.c, gtk/gtksizegroup.c,
gtk/gtktable.c, gtk/gtktextiter.c, gtk/gtktexttag.c,
gtk/gtktexttag.h, gtk/gtktextview.c, gtk/gtktogglebutton.c,
gtk/gtktoolbar.c, gtk/gtktreemodel.c, gtk/gtktreeselection.c,
gtk/gtktreestore.c, gtk/gtktreeview.c, gtk/gtktreeviewcolumn.c,
gtk/gtkviewport.c, gtk/gtkwidget.c, gtk/gtkwidget.h,
gtk/gtkwindow.c:

Minor documentation fixes

(#89254, patch from Brett Nash;
 #85809, patch from daten@dnetc.org;
 #76391, patch from Ross Burton;
 #74559, Manuel Clos;
 #73569, #72005, Alexey A. Malyshev;
 #70061, patch from Dennis Bj"orklund;
 #64566, #63388, #58328, #57499, #81007, #77349, Vitaly Tishkov;
 #78932, Vitaly Tishkov, patch from Ross Burton;
 #73306)

21 years agoChanges to support depth 8 StaticColor visuals. (#81631)
Matthias Clasen [Fri, 9 Aug 2002 23:25:48 +0000 (23:25 +0000)]
Changes to support depth 8 StaticColor visuals. (#81631)

* gdk/gdkrgb.c (gdk_rgb_try_colormap):
(gdk_rgb_create_info):
(gdk_rgb_select_conv):
(gdk_draw_gray_image):
(gdk_rgb_cmap_get_info): Changes to support depth 8 StaticColor
visuals.  (#81631)
(gdk_rgb_cmap_free): Don't loop forever.

21 years agoFix weird usage of 'class' for GdkDisplay * argumnent name. (#9031, Laszlo
Owen Taylor [Fri, 9 Aug 2002 12:06:14 +0000 (12:06 +0000)]
Fix weird usage of 'class' for GdkDisplay * argumnent name. (#9031, Laszlo

Fri Aug  9 08:04:47 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdkdisplay.h (struct _GdkDisplayClass): Fix
        weird usage of 'class' for GdkDisplay * argumnent name.
        (#9031, Laszlo Peter)

21 years agoRemove explicit calls to pango_x/xft_shutdown_display() since Pango now
Owen Taylor [Fri, 9 Aug 2002 03:57:02 +0000 (03:57 +0000)]
Remove explicit calls to pango_x/xft_shutdown_display() since Pango now

Thu Aug  8 23:26:05 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkmain-x11.c gdk/x11/gdkscreen-x11.c: Remove
        explicit calls to pango_x/xft_shutdown_display() since
        Pango now does it by itself on XCloseDisplay().

21 years agoConsistently order pangoxft / pangox in pkg-config calls in hopes of
Owen Taylor [Fri, 9 Aug 2002 01:55:16 +0000 (01:55 +0000)]
Consistently order pangoxft / pangox in pkg-config calls in hopes of

Thu Aug  8 21:53:16 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in: Consistently order pangoxft / pangox
        in pkg-config calls in hopes of reducing problems
        (Eric Mader.)

21 years agoRemove gtk_style_get_font_for_display.
Matthias Clasen [Wed, 7 Aug 2002 22:24:18 +0000 (22:24 +0000)]
Remove gtk_style_get_font_for_display.

* gtk/gtk-sections.txt: Remove gtk_style_get_font_for_display.

21 years agoFix doc comment.
Matthias Clasen [Wed, 7 Aug 2002 22:23:18 +0000 (22:23 +0000)]
Fix doc comment.

* gtk/gtkmain.c (gtk_init): Fix doc comment.

* gtk/gtktreemodel.c (gtk_tree_path_new_from_indices): Make the
doc comment gtk-doc-grokkable.

21 years agolink gdk-pixbuf-xlib against x libs (bug #83442)
jacob berkman [Tue, 6 Aug 2002 14:12:03 +0000 (14:12 +0000)]
link gdk-pixbuf-xlib against x libs (bug #83442)

2002-08-06  jacob berkman  <jacob@ximian.com>

* configure.in: link gdk-pixbuf-xlib against x libs (bug #83442)

21 years agoPatch from Soeren Sandmann to improve GtkLabel behavior when it gets a too
Owen Taylor [Mon, 5 Aug 2002 21:22:22 +0000 (21:22 +0000)]
Patch from Soeren Sandmann to improve GtkLabel behavior when it gets a too

Mon Aug  5 17:20:45 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtklabel.c: Patch from Soeren Sandmann
        to improve GtkLabel behavior when it gets
        a too small allocation. (Always display the
        initial portion.) (#71742)

21 years agoWhen overriding LDFLAGS, include @LDFLAGS@, otherwise LDFLAGS the users
Owen Taylor [Mon, 5 Aug 2002 21:10:09 +0000 (21:10 +0000)]
When overriding LDFLAGS, include @LDFLAGS@, otherwise LDFLAGS the users

Mon Aug  5 17:01:30 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/Makefile.am (LDFLAGS): When overriding LDFLAGS,
        include @LDFLAGS@, otherwise LDFLAGS the users passes
        to configure don't get used. (#89946, Noah Levitt,
        Albert Chin)

        * gdk/linux-fb/Makefile.am: Remove LDFLAGS setting.

21 years agoFix problem with wrong depth being used. (#89941, Jacob Berkman.) Remove
Owen Taylor [Mon, 5 Aug 2002 19:28:56 +0000 (19:28 +0000)]
Fix problem with wrong depth being used. (#89941, Jacob Berkman.) Remove

Mon Aug  5 15:25:40 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdkpixbuf-render.c (gdk_pixbuf_render_pixmap_and_mask_for_colormap):
        Fix problem with wrong depth being used. (#89941, Jacob
        Berkman.) Remove an unneeded 'screen' variable.

Mon Aug  5 15:04:59 2002  Owen Taylor  <otaylor@redhat.com>

        More fixes for warnings reported by David L. Cooper II

        * gtk/gtkaccelmap.c (accel_map_parse_accel_path): Use
        GdkModifierType for accel_mods. (#85856)

        * gdk/gdkdisplay.h (struct _GdkDisplay): Make button_number
        signed, since we use -1 as an 'unset' value. (#85854)

        * gdk/x11/xsettings-client.c (parse_settings): Suppress
        a warning (#85853)

        * gdk/x11/gdkfont-x11.c (gdk_font_charset_for_locale): Fix
        accidental trailing ';'. (#85846)

21 years agoMore fixes for warnings reported by David L. Cooper II
Owen Taylor [Mon, 5 Aug 2002 19:07:14 +0000 (19:07 +0000)]
More fixes for warnings reported by David L. Cooper II

Mon Aug  5 15:04:59 2002  Owen Taylor  <otaylor@redhat.com>

        More fixes for warnings reported by David L. Cooper II

        * gtk/gtkaccelmap.c (accel_map_parse_accel_path): Use
        GdkModifierType for accel_mods. (#85856)

        * gdk/gdkdisplay.h (struct _GdkDisplay): Make button_number
        signed, since we use -1 as an 'unset' value. (#85854)

        * gdk/x11/xsettings-client.c (parse_settings): Suppress
        a warning (#85853)

        * gdk/x11/gdkfont-x11.c (gdk_font_charset_for_locale): Fix
        accidental trailing ';'. (#85846)

21 years agoAdd a note that yes, we do know what () means and we can't change it.
Owen Taylor [Mon, 5 Aug 2002 18:52:28 +0000 (18:52 +0000)]
Add a note that yes, we do know what () means and we can't change it.

Mon Aug  5 14:50:13 2002  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkitemfactory.h: Add a note that yes, we do know
what () means and we can't change it.

Fixes for warnings reported by David L. Cooper II

* tests/testtext.c: Warning fixes. Fix order of arguments
to gtk_message_dialog_new(). (#85891)

* gtk/gtktreeitem.c (gtk_tree_item_paint): Fix incorrect
use GTK_STATE_INSENSITIVE for a shadow type. (Not clear
what the drawing intent was, but it's ENABLE_BROKEN
anyways.) (#85880)

* gtk/gtktexttypes.c: Use character literals
instead of direct constants to avoid warning. (#85878)

* gtk/theme-bits/decompose-bits.c gtk/gtkstyle.c:
Fix some signed/unsigned problems (#85876)

* gtk/gtksignal.c (gtk_signal_newv): Add an explicit
cast from GtkSignalRunType to GSignalFlags. (#85875)

* gtk/gtkitemfactory.c (gtk_item_factory_add_item): Fix
use of guint instead of GdkModifierType (#85871)

* gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
Fix signed/unsigned problem (#85870)

* gtk/gtkimcontext.c (gtk_im_context_class_init): Get
rid of GtkType/Signal*. (Fixes #85869 as a side effect)

* gtk/gtkdnd.c (gtk_drag_get_cursor): Fix some
signed/unsigned warnings (#85865)

21 years agoMerged Sun changes that made sense.
Christian Rose [Sun, 4 Aug 2002 22:57:52 +0000 (22:57 +0000)]
Merged Sun changes that made sense.

2002-08-05  Christian Rose  <menthos@menthos.com>

* sv.po: Merged Sun changes that made sense.

21 years agoFix for binary compatibility across 2.x.y.
Matthias Clasen [Sun, 4 Aug 2002 21:38:17 +0000 (21:38 +0000)]
Fix for binary compatibility across 2.x.y.

* gtk/gtkmain.c (gtk_check_version): Fix for binary compatibility
across 2.x.y.

21 years agoMissed file:
Owen Taylor [Sun, 4 Aug 2002 20:26:36 +0000 (20:26 +0000)]
Missed file:

Thu Aug  1 19:09:39 2002  Owen Taylor  <otaylor@redhat.com>

        * demos/gtk-demo/changedisplay.c: New demo for
        window migration between different displays and screens.

21 years agosorry
Gediminas Paulauskas [Fri, 2 Aug 2002 22:59:50 +0000 (22:59 +0000)]
sorry

21 years agoFix menus resizing dynamically while they are popped up or torn off.
Owen Taylor [Fri, 2 Aug 2002 22:03:23 +0000 (22:03 +0000)]
Fix menus resizing dynamically while they are popped up or torn off.

Fri Aug  2 18:00:46 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkmenu.c: Fix menus resizing dynamically while
        they are popped up or torn off. (#78949)

21 years agoprototypes with no parameters must be defined as (void), not ()
Gediminas Paulauskas [Fri, 2 Aug 2002 22:01:01 +0000 (22:01 +0000)]
prototypes with no parameters must be defined as (void), not ()

2002-08-02  Gediminas Paulauskas <menesis@delfi.lt>

        * gtkitemfactory.h: prototypes with no parameters must be
        defined as (void), not ()

21 years ago----:---F1 gdkregion-generic.c (CGTK CVS:1.11 Abbrev)--L1696--96%---------Fri...
Owen Taylor [Fri, 2 Aug 2002 20:39:40 +0000 (20:39 +0000)]
----:---F1  gdkregion-generic.c      (CGTK CVS:1.11 Abbrev)--L1696--96%---------Fri Aug  2 16:38:34 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdkregion-generic.c: Comprehensively add
        g_return_[val]if_fail() statements. (#89491, Robin Lu)

21 years agoRemove references to gdk_initialized (#81060, Jacob Berkman)
Owen Taylor [Fri, 2 Aug 2002 20:25:38 +0000 (20:25 +0000)]
Remove references to gdk_initialized (#81060, Jacob Berkman)

Fri Aug  2 16:24:32 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkmain-x11.c: Remove references to
        gdk_initialized (#81060, Jacob Berkman)

        * gdk/gdk.c (gdk_exit): Remove gdk_exit_func().

21 years agoFix args to pango_x_shutdown_display().
Owen Taylor [Fri, 2 Aug 2002 20:22:49 +0000 (20:22 +0000)]
Fix args to pango_x_shutdown_display().

Fri Aug  2 15:56:47 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkscreen-x11.c (gdk_screen_x11_dispose): Fix
        args to pango_x_shutdown_display().

        * gdk/linux-fb/gdkinput.c gdk/linux-fb/gdkinputprivate.h
        gdk/win32/gdkinput-win32.[ch] gdk/win32/gdkinput.c
        gdk/win32/gdkwindow-win32.c gdk/x11/gdkinput-x11.c
        gdk/x11/gdkinput-xfree.c gdk/x11/gdkinput.c
        gdk/x11/gdkinputprivate.h gdk/x11/gdkwindow-x11.c: Move
        a bunch of functions gdk_input => _gdk_input. Clean
        up some header file cruft. (#79971)

21 years agoCall pango_x[ft]_shutdown_display().
Owen Taylor [Fri, 2 Aug 2002 19:19:42 +0000 (19:19 +0000)]
Call pango_x[ft]_shutdown_display().

Fri Aug  2 12:21:41 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkscreen-x11.c (gdk_screen_x11_dispose):
        Call pango_x[ft]_shutdown_display().

21 years agodeclare screen_x11 variable to fix build w/ xinerama
jacob berkman [Fri, 2 Aug 2002 16:28:29 +0000 (16:28 +0000)]
declare screen_x11 variable to fix build w/ xinerama

2002-08-02  jacob berkman  <jacob@ximian.com>

* gdk/x11/gdkscreen-x11.c (check_xfree_xinerama): declare
screen_x11 variable to fix build w/ xinerama

21 years agoSwitch back to using XftDraw so that we take advantage of the
Owen Taylor [Fri, 2 Aug 2002 04:57:53 +0000 (04:57 +0000)]
Switch back to using XftDraw so that we take advantage of the

Fri Aug  2 00:43:15 2002  Owen Taylor  <otaylor@redhat.com>

* gdk/x11/gdkdrawable-x11.[ch] gdk/x11/gdkgc-x11.c
gdk/x11/gdkpango-x11.c gdk/x11/gdkpixmap-x11.c
gdk/x11/gdkprivate-x11.h gdk/x11/gdkwindow-x11.c:
Switch back to using XftDraw so that we take
advantage of the draw-to-non-RENDER capabilities
of Xft2.

* demos/gtk-demo/changedisplay.c (query_for_toplevel):
Fix the case where the user clicks on the "click on
a window popup".

21 years agoNew demo for window migration between different displays and screens.
Owen Taylor [Thu, 1 Aug 2002 23:43:13 +0000 (23:43 +0000)]
New demo for window migration between different displays and screens.

Thu Aug  1 19:09:39 2002  Owen Taylor  <otaylor@redhat.com>

* demos/gtk-demo/changedisplay.c: New demo for
window migration between different displays and screens.

* gtk/gtkrc.c gtkstyle.[ch]: Add
_gtk_style_init_for_settings(), so that gtkrc.c
can initialize the styles it creates for the
right display.

* gdk/gdkdisplaymanager.c (gdk_screen_get_default)
* gtk/gtksettings.c (gtk_settings_get_default)
* gtk/gtkstyle.c (gtk_style_init): Handle absence of
a default screen.

* gdk/x11/gdkmain-x11.c (_gdk_windowing_set_default_display):
Handle display == NULL.x

* gdk/gdkdisplay.c (gdk_display_dispose): Free the
event queue.

* gdk/x11/gdkevents-x11.c gdk/x11/gdkdisplay-x11.c:
Remove the event source when closing a display.

* gdk/gdkdisplay.[ch]: Add a ::closed signal, dispose()
isn't convenient enough by itself.

* gdk/x11/gdkevents-x11.c (gdk_xsettings_watch_cb):
Create foreign windows for watch windows if there isn't
an existing window, instead of installing a global filter.

* gdk/x11/gdkscreen-x11.c gdk/x11/gdkprivate-x11.h
gdk/x11/gdkevents-x11.c (_gdk_x11_events_uninit_screen):
Clean up the xsettings_client when we are done with
it.

* gdk/x11/gdkevents-x11.c (_gdk_events_init): Remove
excess call to _gdk_x11_events_init_screen()

21 years agoMerge from stable:
Sven Neumann [Thu, 1 Aug 2002 18:22:28 +0000 (18:22 +0000)]
Merge from stable:

2002-08-01  Sven Neumann  <sven@gimp.org>

Merge from stable:

* gdk/gdkrgb.c: trivial changes to some debug code so it compiles
with VERBOSE being defined.