]> Pileus Git - ~andy/gtk/log
~andy/gtk
21 years agoReset use_text_format to %TRUE for a %NULL text string. (#94157, once
Owen Taylor [Fri, 18 Oct 2002 19:40:27 +0000 (19:40 +0000)]
Reset use_text_format to %TRUE for a %NULL text string. (#94157, once

Fri Oct 18 15:38:50 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkprogressbar.c (gtk_progress_bar_set_text):
        Reset use_text_format to %TRUE for a %NULL text string.
        (#94157, once again).

21 years agoFix use of uninitialized variable.
Owen Taylor [Fri, 18 Oct 2002 19:26:43 +0000 (19:26 +0000)]
Fix use of uninitialized variable.

Thu Oct 17 17:17:05 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkcheckbutton.c (gtk_check_button_size_request):
        Fix use of uninitialized variable.

Thu Oct 17 14:38:37 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkaccellabel.c (gtk_accel_label_expose_event):
        Align the baseline of the accelerator label with the
        first baseline of the main label of the menu item. (#76593)

Wed Oct 16 18:25:24 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkevents-x11.c (translate_key_event):
        Use gdk_keymap_translate_keyboard_state() rather than
        XLookupString() to get the keysymbol, since XLookupString
        can confuse the input method handling. (#93575)

        * gdk/x11/gdkkeys-x11.c: Rewrite the handling of
        key translation for the non-XKB case to properly
        handle Shift_Lock, Caps_Lock, Num_Lock according
        to the Xlib spec. (#67066)

21 years agoUpdate the docs for the event->key.string to say that @string is
Owen Taylor [Fri, 18 Oct 2002 19:14:54 +0000 (19:14 +0000)]
Update the docs for the event->key.string to say that @string is

Fri Oct 18 15:13:24 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/tmpl/event_structs.sgml: Update the docs for
        the event->key.string to say that @string is deprecated.

21 years agofix compiler warnings
Havoc Pennington [Thu, 17 Oct 2002 21:48:30 +0000 (21:48 +0000)]
fix compiler warnings

2002-10-17  Havoc Pennington  <hp@redhat.com>

* gtk/gtkwindow.c (gtk_window_compute_configure_request): fix
compiler warnings

21 years agofix typo to make it compile
Soeren Sandmann [Thu, 17 Oct 2002 20:39:31 +0000 (20:39 +0000)]
fix typo to make it compile

Thu Oct 17 22:37:57 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtkwindow.c (get_center_monitor_of_window): fix typo to make
it compile

21 years agoadd g_return_if_fail for monitor number <= 0
Havoc Pennington [Thu, 17 Oct 2002 20:24:03 +0000 (20:24 +0000)]
add g_return_if_fail for monitor number <= 0

2002-10-16  Havoc Pennington  <hp@redhat.com>

* gdk/x11/gdkscreen-x11.c (gdk_screen_get_monitor_geometry): add
g_return_if_fail for monitor number <= 0

* gtk/gtkmenu.c (gtk_menu_position): handle case where pointer
is outside the screen.

* gtk/gtkwindow.c (get_monitor_center): factor out
the code to position a window in center
(gtk_window_compute_configure_request): use here
(gtk_window_constrain_position): use here, the
code here wasn't multihead-aware

* gdk/x11/gdkevents-x11.c (get_real_window): function to
return the window the event describes, rather than the window
that received the event.
(gdk_event_translate): use result of that function for
filling in GdkEvent::window, which only matters for
MapNotify/UnmapNotify and ConfigureNotify, in practice.

Unbreaks various things using SubstructureNotifyMask.

21 years agoMake the widgets work reasonably when they don't have children -- draw the
Owen Taylor [Thu, 17 Oct 2002 20:20:52 +0000 (20:20 +0000)]
Make the widgets work reasonably when they don't have children -- draw the

Thu Oct 17 16:13:28 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkcheckbutton.c gtk/gtkradiobutton.c: Make
        the widgets work reasonably when they don't have
        children -- draw the focus around the indicator,
        and position the indicator symmetrically.
        (#74830, Dave Camp)

        * tests/testgtk.c: Add no-child portions to check and radio
        button tests.

21 years agoTake arrows into account when clamping the offset. Fixes #95758.
Soeren Sandmann [Thu, 17 Oct 2002 20:09:39 +0000 (20:09 +0000)]
Take arrows into account when clamping the offset. Fixes #95758.

Thu Oct 17 22:09:05 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtkmenu.c (gtk_menu_scroll_to): Take arrows into
account when clamping the offset. Fixes #95758.

21 years agoFix from Phil Blundell for compiling without Xkb. (#95909)
Owen Taylor [Wed, 16 Oct 2002 19:20:57 +0000 (19:20 +0000)]
Fix from Phil Blundell for compiling without Xkb. (#95909)

Wed Oct 16 15:19:44 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkkeys-x11.c: Fix from Phil Blundell for
        compiling without Xkb. (#95909)

21 years agoMake 'filled' arguments for draw_arc/polygon/rectangle gboolean not gint.
Owen Taylor [Wed, 16 Oct 2002 18:41:42 +0000 (18:41 +0000)]
Make 'filled' arguments for draw_arc/polygon/rectangle gboolean not gint.

Wed Oct 16 14:32:43 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdkdrawable.h gdk/gdkdraw.c gdk/gdkpixmap.c
        gdk/gdkwindow.c gdk/x11/gdkdrawable-x11.c
        gdk/win32/gdkdrawable-win32.c gdk/linux-fb/gdkdrawable-fb2.c
        gdk/linux-fb/gdkprivate-fb.h:
        Make 'filled' arguments for draw_arc/polygon/rectangle
        gboolean not gint. (#94976)

21 years agoMake tear-off menuitems obey the "selected_shadow_type" style property.
Soeren Sandmann [Wed, 16 Oct 2002 15:13:43 +0000 (15:13 +0000)]
Make tear-off menuitems obey the "selected_shadow_type" style property.

Wed Oct 16 17:11:46 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtktearoffmenuitem.c (gtk_tearoff_menu_item_paint): Make
tear-off menuitems obey the "selected_shadow_type" style property.

21 years agoDon't use connect_swapped() when the function being connected has a
Owen Taylor [Tue, 15 Oct 2002 21:27:45 +0000 (21:27 +0000)]
Don't use connect_swapped() when the function being connected has a

Tue Oct 15 17:25:47 2002  Owen Taylor  <otaylor@redhat.com>

        * modules/input/gtkimcontextxim.c (get_im): Don't use
        connect_swapped() when the function being connected
        has a non-swapped signature.

21 years agoInitialize info->ics to NULL. (Hidetoshi Tajima.)
Owen Taylor [Tue, 15 Oct 2002 13:56:27 +0000 (13:56 +0000)]
Initialize info->ics to NULL. (Hidetoshi Tajima.)

Tue Oct 15 09:54:54 2002  Owen Taylor  <otaylor@redhat.com>

        * modules/input/gtkimcontextxim.c (get_im): Initialize
        info->ics to NULL. (Hidetoshi Tajima.)

        * modules/input/gtkimcontextxim.c (status_window_get):
        Call set_resizable on the window, not on the structure.

21 years ago=== Released 2.1.1 ===
Owen Taylor [Mon, 14 Oct 2002 23:53:44 +0000 (23:53 +0000)]
=== Released 2.1.1 ===

Mon Oct 14 19:17:34 2002  Owen Taylor  <otaylor@redhat.com>

        * === Released 2.1.1 ===

21 years agoAdd some missing files.
Owen Taylor [Mon, 14 Oct 2002 23:38:33 +0000 (23:38 +0000)]
Add some missing files.

Mon Oct 14 19:34:26 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/Makefile.am (content_files)
          gdk-pixbuf/Makefile.am (content_files): Add some missing
        files.

21 years agoUpdate.
Owen Taylor [Mon, 14 Oct 2002 23:22:58 +0000 (23:22 +0000)]
Update.

Mon Oct 14 19:16:16 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtk-sections.txt: Update.

        * gdk/tmpl/images.sgml gtk/tmpl/gtkmain.sgml
        gtk/tmpl/gtkselection.sgml: Remove docs that were moved
        the the C files.

21 years agoVersion 2.1.1, interface age 0, binary age 101.
Owen Taylor [Mon, 14 Oct 2002 22:57:38 +0000 (22:57 +0000)]
Version 2.1.1, interface age 0, binary age 101.

Mon Oct 14 18:50:59 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in: Version 2.1.1, interface age 0, binary age 101.

        * NEWS: Updates

21 years agoBehaviour change, apply changes if the entry of the editable gets a focus
Kristian Rietveld [Mon, 14 Oct 2002 22:50:18 +0000 (22:50 +0000)]
Behaviour change, apply changes if the entry of the editable gets a focus

Tue Oct 15 00:53:14 2002  Kristian Rietveld  <kris@gtk.org>

        Behaviour change, apply changes if the entry of the editable gets
        a focus out event (#82405).

        * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_focus_out_event):
        new function,
        (gtk_cell_renderer_text_start_editing): stop editing and apply
        changes on focus-out.

Tue Oct 15 00:47:35 2002  Kristian Rietveld  <kris@gtk.org>

        Fixes an *evil* GtkTreeModelSort bug, #93629.

        * gtk/gtktreemodel.c (release_row_references): return if the
        refs->list is NULL.

        * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed): if we
        are swapping two rows (re-insertion on row_changed), also *emit*
        a rows_reordered signal. oops.

Tue Oct 15 00:45:03 2002  Kristian Rietveld  <kris@gtk.org>

        * gtk/gtkliststore.c (gtk_list_store_remove_silently): free
        the actual link after the node has been removed (#92014).

        * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_column_finalize):
        free the cell_list and the child if the exists (#92014).

Tue Oct 15 00:40:25 2002  Kristian Rietveld  <kris@gtk.org>

        Don't accept drops if the model has been sorted, #93758)

        * gtk/gtkliststore.c (gtk_list_store_row_drop_possible): return
        FALSE if the list has been sorted.

        * gtk/gtktreestore.c (gtk_tree_store_row_drop_possible): check
        if drag_dest is a TreeStore, return FALSE if the tree has been
        sorted.

Tue Oct 15 00:33:59 2002  Kristian Rietveld  <kris@gtk.org>

        Compiler warning fixage, (#85858, #85859, #85860, #85872)

        * gtk/gtkcellrendererpixbuf (gtk_cell_renderer_pixbuf_render):
        s/guint/GtkCellRendererState/.

        * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render):
        ditto.

        * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render),
        (gtk_cell_renderer_toggle_activate): ditto.

        * gtk/gtkliststore.c (gtk_list_store_get_flags): a
        s/guint/GtkTreeModelFlags/ on the return type.

21 years agoDist the xml/*.xml, not sgml/*.sgml. (#95678, Owen Taylor)
Matthias Clasen [Mon, 14 Oct 2002 21:51:55 +0000 (21:51 +0000)]
Dist the xml/*.xml, not sgml/*.sgml. (#95678, Owen Taylor)

* gdk-pixbuf/Makefile.am (dist-hook):
* gdk/Makefile.am (dist-hook):
* gtk/Makefile.am (dist-hook): Dist the xml/*.xml, not
sgml/*.sgml.  (#95678, Owen Taylor)

21 years ago- Make GtkXIMInfo structures per-screen (they were a mix between
Owen Taylor [Mon, 14 Oct 2002 19:19:08 +0000 (19:19 +0000)]
- Make GtkXIMInfo structures per-screen (they were a mix between

Mon Oct 14 15:10:34 2002  Owen Taylor  <otaylor@redhat.com>

        * modules/input/gtkimcontextxim.c:
        - Make GtkXIMInfo structures per-screen (they were
          a mix between per-display and per-context before)
        - Make signal connections info->settings one-per-info
         - Handle a GdkDisplay being closed, by destroying
          all XIC, calling XCloseIM on the XIM. (#87482)

21 years agoAdapt to latest gtk-doc changes.
Matthias Clasen [Mon, 14 Oct 2002 00:11:00 +0000 (00:11 +0000)]
Adapt to latest gtk-doc changes.

21 years agoDeprecation cleanup
Manish Singh [Sun, 13 Oct 2002 23:56:31 +0000 (23:56 +0000)]
Deprecation cleanup

Sun Oct 13 16:55:49 2002  Manish Singh  <yosh@gimp.org>

        * gtk/gtkdnd.c gtk/gtkradiobutton.[ch]: Deprecation cleanup

        * gtk/Makefile.am: Added disable deprecation flags

        * demos/pixbuf-init.c demos/gtk-demo/changedisplay.c: minor clean up

21 years agoDeprecation cleanup
Manish Singh [Sun, 13 Oct 2002 23:22:33 +0000 (23:22 +0000)]
Deprecation cleanup

Sun Oct 13 16:20:41 2002  Manish Singh  <yosh@gimp.org>

        * tests/pixbuf-randomly-modified.c tests/prop-editor.c
        tests/testcalendar.c tests/testdnd.c tests/testgtk.c tests/testinput.c
        tests/testmultidisplay.c tests/testmultiscreen.c tests/testrgb.c
        tests/testselection.c tests/testsocket.c tests/testsocket_common.c
        tests/testtext.c tests/testtextbuffer.c tests/testtreecolumns.c
        tests/testtreeedit.c tests/testtreeflow.c tests/testtreefocus.c
        tests/testtreesort.c tests/testtreeview.c tests/testxinerama.c
        tests/treestoretest.c: Deprecation cleanup

        * tests/Makefile.am: Added disable deprecation flags

21 years agoDeprecation cleanup
Manish Singh [Sun, 13 Oct 2002 20:44:18 +0000 (20:44 +0000)]
Deprecation cleanup

Sun Oct 13 13:43:16 2002  Manish Singh  <yosh@gimp.org>

        * gtk/gtkcurve.[ch] gtk/gtkgamma.[ch] gtk/gtklayout.[ch]
        gtk/gtkwidget.[ch] modules/input/gtkimcontextxim.c
        modules/input/imam-et.c modules/input/imcyrillic-translit.c
        modules/input/imhangul.c modules/input/iminuktitut.c
        modules/input/imipa.c modules/input/imthai-broken.c
        modules/input/imti-er.c modules/input/imti-et.c
        modules/input/imviqr.c: Deprecation cleanup

        * modules/input/Makefile.am: Added disable deprecation flags

21 years agoDeprecation cleanup
Manish Singh [Sun, 13 Oct 2002 19:34:42 +0000 (19:34 +0000)]
Deprecation cleanup

Sun Oct 13 12:29:15 2002  Manish Singh  <yosh@gimp.org>

        * gtk/gtkcolorsel.[ch] gtk/gtkcombo.[ch] gtk/gtkplug.[ch]
        gtk/gtksocket.[ch] gtk/gtktreeview.[ch] gtk/gtktreeviewcolumn.[ch]:
        Deprecation cleanup

        * gtk/gtkcolorseldialog.c: make window not resizable (lost
        accidently in the previous cleanup)

21 years agoMake tooltip window not resizable. Fixes #95675.
Soeren Sandmann [Sun, 13 Oct 2002 18:30:49 +0000 (18:30 +0000)]
Make tooltip window not resizable. Fixes #95675.

Sun Oct 13 20:20:51 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtktooltips.c (gtk_tooltips_force_window): Make tooltip
window not resizable. Fixes #95675.

21 years agoDocumentation fixes.
Soeren Sandmann [Sun, 13 Oct 2002 17:17:14 +0000 (17:17 +0000)]
Documentation fixes.

Sun Oct 13 18:50:14 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtkmenu.c, gtkmenu.sgml, gtkitemfactory.c, gdkwindow.c,
gtkwindow.c, gtkpaned.sgml, gtkdialog.c, gtkbox.h, gtkbutton.sgml,
gtktreemodel.sgml,gtktable.sgml, gtktable.c:

Documentation fixes.

#85719, #90759, #95169, Owen Taylor;
#89221, Yao Zhang, Matthias Clasen;
#95592, Joost Faassen;
#92637, Vitaly Tishkov;
#94616, Ben Martin;
#94772, sbaillie@bigpond.net.au;

21 years agoDon't invalidate a widget if it or one of its ancestors isn't mapped.
Soeren Sandmann [Sun, 13 Oct 2002 15:42:28 +0000 (15:42 +0000)]
Don't invalidate a widget if it or one of its ancestors isn't mapped.

Sun Oct 13 17:41:53 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtkwidget.c (gtk_widget_queue_clear_area): Don't invalidate
a widget if it or one of its ancestors isn't mapped.

21 years agoremove references to non-existing properties GtkWindow::allow_shrink and
Soeren Sandmann [Sun, 13 Oct 2002 15:24:40 +0000 (15:24 +0000)]
remove references to non-existing properties GtkWindow::allow_shrink and

Sun Oct 13 17:21:15 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

* tests/testgtk.c (window_controls), tests/testgtk.c
(create_tooltips): remove references to non-existing properties
GtkWindow::allow_shrink and GtkWidget::width

21 years agouse GTK_IS_RADIO_MENU_ITEM instead of comparing the type directly. This
Manish Singh [Sat, 12 Oct 2002 22:45:08 +0000 (22:45 +0000)]
use GTK_IS_RADIO_MENU_ITEM instead of comparing the type directly. This

Sat Oct 12 15:44:29 2002  Manish Singh  <yosh@gimp.org>

        * gtk/gtkitemfactory.c: use GTK_IS_RADIO_MENU_ITEM instead
        of comparing the type directly. This handles possible subclasses
        too. (Recommended by Tim Janik)

21 years agoDeprecation cleanup
Manish Singh [Fri, 11 Oct 2002 22:57:11 +0000 (22:57 +0000)]
Deprecation cleanup

Fri Oct 11 15:56:20 2002  Manish Singh  <yosh@gimp.org>

        * gtk/gtkaccellabel.[ch] gtk/gtkaccessible.[ch] gtk/gtkbutton.[ch]
        gtk/gtkcheckbutton.[ch] gtk/gtkcolorseldialog.[ch] gtk/gtkdialog.[ch]
        gtk/gtkhandlebox.[ch] gtk/gtkinputdialog.[ch] gtk/gtkmessagedialog.[ch]
        gtk/gtktearoffmenuitem.[ch] gtk/gtktogglebutton.[ch]: Deprecation
        cleanup

21 years agoLots of trivial doc fixes.
Matthias Clasen [Fri, 11 Oct 2002 20:36:21 +0000 (20:36 +0000)]
Lots of trivial doc fixes.

21 years agoDocumentation updates.
Matthias Clasen [Fri, 11 Oct 2002 01:04:45 +0000 (01:04 +0000)]
Documentation updates.

21 years agoDocumentation updates.
Matthias Clasen [Fri, 11 Oct 2002 00:46:39 +0000 (00:46 +0000)]
Documentation updates.

21 years agoDocumentation improvements.
Matthias Clasen [Thu, 10 Oct 2002 23:42:57 +0000 (23:42 +0000)]
Documentation improvements.

21 years agoDeprecation cleanup
Manish Singh [Thu, 10 Oct 2002 22:20:48 +0000 (22:20 +0000)]
Deprecation cleanup

Thu Oct 10 15:13:48 2002  Manish Singh  <yosh@gimp.org>

        * gtk/gtkimcontext.[ch] gtk/gtkimcontextsimple.[ch] gtk/gtkimmodule.c
        gtk/gtkimmulticontext.[ch] gtk/gtktreestore.[ch]: Deprecation
        cleanup

21 years agoDeprecation cleanup
Manish Singh [Thu, 10 Oct 2002 22:00:09 +0000 (22:00 +0000)]
Deprecation cleanup

Thu Oct 10 14:58:47 2002  Manish Singh  <yosh@gimp.org>

        * gtk/gtkaccelgroup.c gtk/gtkarrow.[ch] gtk/gtkeventbox.[ch]
        gtk/gtkiconfactory.c gtk/gtkinvisible.[ch] gtk/gtktextchild.c:
        Deprecation cleanup

21 years agoDeprecation cleanup
Manish Singh [Thu, 10 Oct 2002 21:45:41 +0000 (21:45 +0000)]
Deprecation cleanup

Thu Oct 10 14:41:05 2002  Manish Singh  <yosh@gimp.org>

        * gtk/gtktextbtree.c gtk/gtktextbuffer.c gtk/gtktextdisplay.c
        gtk/gtktextlayout.c gtk/gtktextmark.c gtk/gtktexttag.[ch]
        gtk/gtktexttagtable.c gtk/gtktextutil.c gtk/gtktextview.[ch]:
        Deprecation cleanup

21 years agoPrivately export _gtk_scrolled_window_get_scrollbar_spacing().
Owen Taylor [Thu, 10 Oct 2002 18:46:10 +0000 (18:46 +0000)]
Privately export _gtk_scrolled_window_get_scrollbar_spacing().

Thu Oct 10 14:35:31 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkscrolledwindow.[ch]: Privately export
        _gtk_scrolled_window_get_scrollbar_spacing().

        * gtk/gtkcombo.c: Properly account from scrollbar
        spacing when computing the size of the popup window.
        (#84955, Marco Pesenti Gritti)

21 years agoDeprecation cleanup
Manish Singh [Thu, 10 Oct 2002 01:02:25 +0000 (01:02 +0000)]
Deprecation cleanup

Wed Oct  9 17:40:13 2002  Manish Singh  <yosh@gimp.org>

        * gtk/gtkaccelmap.c gtk/gtkfixed.[ch] gtk/gtkkeyhash.c gtk/gtkmenu.c
        gtk/gtkobject.c gtk/gtkoldeditable.c gtk/gtkrc.c gtk/gtkspinbutton.[ch]
        gtk/gtktable.[ch] gtk/gtkthemes.c: Deprecation cleanup

21 years agoDeprecation cleanup
Manish Singh [Wed, 9 Oct 2002 23:55:27 +0000 (23:55 +0000)]
Deprecation cleanup

Wed Oct  9 16:52:53 2002  Manish Singh  <yosh@gimp.org>

        * gtk/gtkclipboard.[ch] gtk/gtkeditable.[ch] gtk/gtkgc.c
        gtk/gtkoptionmenu.[ch] gtk/gtkselection.c gtk/gtksizegroup.[ch]:
        Deprecation cleanup

21 years agoDeprecation cleanup
Manish Singh [Wed, 9 Oct 2002 22:25:18 +0000 (22:25 +0000)]
Deprecation cleanup

Wed Oct  9 15:23:48 2002  Manish Singh  <yosh@gimp.org>

        * gtk/gtkadjustment.[ch] gtk/gtkalignment.[ch] gtk/gtkentry.[ch]
        gtk/gtkhsv.[ch] gtk/gtktooltips.[ch]: Deprecation cleanup

21 years agoDeprecation cleanup
Manish Singh [Wed, 9 Oct 2002 22:11:08 +0000 (22:11 +0000)]
Deprecation cleanup

Wed Oct  9 15:07:08 2002  Manish Singh  <yosh@gimp.org>

        * gtk/gtkbindings.[ch] gtk/gtkcalendar.[ch] gtk/gtkfilesel.[ch]
        gtk/gtkfontsel.[ch] gtk/gtkitem.[ch] gtk/gtkitemfactory.[ch]:
        Deprecation cleanup

21 years agoAdd GO_FORWARD and GO_BACK with both left and right arrows depending on
Owen Taylor [Wed, 9 Oct 2002 21:38:43 +0000 (21:38 +0000)]
Add GO_FORWARD and GO_BACK with both left and right arrows depending on

Wed Oct  9 17:06:21 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkiconfactory.c (add_size_and_dir_with_fallback):
        Add GO_FORWARD and GO_BACK with both left and right
        arrows depending on the direction. (#92211,
        Kenneth Christiansen)

        * tests/testgtk.c (create_flipping): Add forward/back button
        pairs in default, RTL, LTR configurations.

21 years agoFix bug ID.
Stanislav Brabec [Wed, 9 Oct 2002 15:35:56 +0000 (15:35 +0000)]
Fix bug ID.

21 years agoAdded support for hungarian characters (addition to bug #91258). Only via
Stanislav Brabec [Wed, 9 Oct 2002 14:15:15 +0000 (14:15 +0000)]
Added support for hungarian characters (addition to bug #91258). Only via

2002-10-09  Stanislav Brabec  <sbrabec@suse.cz>

* gtk/gtkimcontextsimple.c: Added support for hungarian characters
(addition to bug #91258). Only via dead keys, because compose key
combinations in X are erratic.

21 years agoDeprecation cleanup
Manish Singh [Wed, 9 Oct 2002 00:38:22 +0000 (00:38 +0000)]
Deprecation cleanup

Tue Oct  8 17:34:26 2002  Manish Singh  <yosh@gimp.org>

        * gtk/gtkmain.c gtk/gtkscrolledwindow.[ch] gtk/gtksettings.c
        gtk/gtkstatusbar.[ch] gtk/gtkstyle.c gtk/gtktoolbar.[ch]
        gtk/gtkviewport.[ch] gtk/gtkwindow.[ch]: Deprecation cleanup

21 years agoDeprecation cleanup
Manish Singh [Tue, 8 Oct 2002 23:07:02 +0000 (23:07 +0000)]
Deprecation cleanup

Tue Oct  8 15:25:53 2002  Manish Singh  <yosh@gimp.org>

        * gtk/gtkhpaned.[ch] gtk/gtkpaned.[ch] gtk/gtkprogress.[ch]
        gtk/gtkprogressbar.[ch] gtk/gtkvpaned.[ch]: Deprecation cleanup

21 years agorestore gtkobject.h #include so we don't break backwards compat.
Manish Singh [Tue, 8 Oct 2002 21:51:56 +0000 (21:51 +0000)]
restore gtkobject.h #include so we don't break backwards compat.

Tue Oct  8 14:49:56 2002  Manish Singh  <yosh@gimp.org>

        * gtk/gtktreemodel.h: restore gtkobject.h #include so we don't
        break backwards compat.

21 years agoPatch from Takuro Ashie to fix updating of open_ims list. (#95150)
Owen Taylor [Tue, 8 Oct 2002 13:50:34 +0000 (13:50 +0000)]
Patch from Takuro Ashie to fix updating of open_ims list. (#95150)

Tue Oct  8 09:41:43 2002  Owen Taylor  <otaylor@redhat.com>

        * Patch from Takuro Ashie to fix updating of open_ims
        list. (#95150)

21 years agoMove out of HAVE_XKB. (#95129, Phil Blundell)
Owen Taylor [Tue, 8 Oct 2002 13:27:04 +0000 (13:27 +0000)]
Move out of HAVE_XKB. (#95129, Phil Blundell)

Mon Oct  7 19:44:45 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkkeys-x11.c (_gdk_keymap_keys_changed): Move
        out of HAVE_XKB. (#95129, Phil Blundell)

21 years agofix compilation
Eric Warmenhoven [Tue, 8 Oct 2002 02:19:09 +0000 (02:19 +0000)]
fix compilation

Mon Oct  7 19:14:24 2002  Eric Warmenhoven <eric@warmenhoven.org>

* gdk/linux-fb/gdkwindow-fb.c: fix compilation

* gdk/linux-fb/gdkmain-fb.c: better display mode setting

21 years agoFree the private data. (#84903, Matthias Clasen)
Owen Taylor [Mon, 7 Oct 2002 22:52:35 +0000 (22:52 +0000)]
Free the private data. (#84903, Matthias Clasen)

Mon Oct  7 18:50:46 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkcolorsel.c (gtk_color_selection_finalize):
        Free the private data. (#84903, Matthias Clasen)

21 years agoNew file. Move gdk_drag_find_window(), gdk_drag_get_protocol() here.
Owen Taylor [Mon, 7 Oct 2002 22:43:26 +0000 (22:43 +0000)]
New file. Move gdk_drag_find_window(), gdk_drag_get_protocol() here.

Mon Oct  7 15:48:44 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdkdnd.c Makefile.am gdk/x11/gdkdnd-x11.c
        gdk/fb/gdkdnd-fb.c gdk/win32/gdkdnd-win32.c: New file.
        Move gdk_drag_find_window(), gdk_drag_get_protocol() here.

21 years agoAllow the slider to be set all the way to the edge, and if that happens,
Owen Taylor [Mon, 7 Oct 2002 22:33:43 +0000 (22:33 +0000)]
Allow the slider to be set all the way to the edge, and if that happens,

Mon Oct  7 18:21:39 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtk[hv]paned.c gtk/gtkpaned.c: Allow the slider
        to be set all the way to the edge, and if that happens,
        use gtk_widget_set_child_visible() to hide the
        appropriate child. (#72784, request from Darin Adler)

21 years agoUse a pixbuf to set the drag icon, combine code to create drag icons
Owen Taylor [Mon, 7 Oct 2002 21:53:59 +0000 (21:53 +0000)]
Use a pixbuf to set the drag icon, combine code to create drag icons

Mon Oct  7 16:28:11 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkcolorsel.c (palette_drag_begin): Use
        a pixbuf to set the drag icon, combine code
        to create drag icons (Fixes #80092, #80093)

        * gtk/gtkcolorsel.c (get_screen_color): Don't warn
        on failure to grab keyboard/mouse. (#80085)

        * gtk/gtkcolorsel.c (palette_press): Return FALSE,
        so DND initiation is possible.

        * gtk/gtkcolorsel.c (palette_release): Set the color
        from the palette on release, not press.

        * tests/testgtk.c (create_color_selection): Use
        gtk_widget_show_all()

21 years agoAdd gdk_drag_find_window_for_screen(), so that we can interpret x_root /
Owen Taylor [Mon, 7 Oct 2002 20:03:15 +0000 (20:03 +0000)]
Add gdk_drag_find_window_for_screen(), so that we can interpret x_root /

Mon Oct  7 15:48:44 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdkdnd.[ch] gdk/x11/gdkdnd-x11.c: Add
        gdk_drag_find_window_for_screen(), so that we can
        interpret x_root / y_root relative to the correct screen.

        * gdk/gdkdnd.c Makefile.am gdk/x11/gdkdnd-x11.c
        gdk/fb/gdkdnd-fb.c gdk/win32/gdkdnd-win32.c: New file.
        Move gdk_drag_find_window(), gdk_drag_get_protocol() here.

        * gtk/gtkdnd.c: Handle drags between screens; use
        a fallback icon for icons set as windows/pixmaps,
        move the drag icon between displays for icons set as
        pixbufs.

        * gdk/x11/gdkkeys-x11.c (update_keymaps): Fix infinite
        loop from last change.

21 years ago- Replace GdkPointerHooks with a multihead-safe GdkDisplayPointerHooks,
Owen Taylor [Mon, 7 Oct 2002 19:42:49 +0000 (19:42 +0000)]
- Replace GdkPointerHooks with a multihead-safe GdkDisplayPointerHooks,

Mon Oct  7 15:10:00 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdkdisplay.[ch] gdk/gdkinternals.h
        gdk/gdkwindow.[ch] gdk/linux-fb/gdkwindow-fb.c
        gdk/win32/gdkwindow-win32.c gdk/x11/gdkwindow-x11.c:

        - Replace GdkPointerHooks with a multihead-safe
          GdkDisplayPointerHooks, leave GdkPointerHooks
          around for singlehead.
        - Add gdk_display_get_pointer() to get the pointer
          location with the screen it is on.

        * gdk/gdk.def gdk/gdkdisplay.[ch] gdk/gdkscreen.[ch]:
        Change gdk_screen_get_window_at_pointer() to
        gdk_display_get_window_at_pointer().

        * gtk/gtktreeview.c demos/gtk-demo/changedisplay.c
        tests/testgtk.c: Use gdk_display_get_window_at_pointer(),
        not gdk_screen_get_window_at_pointer().

        * gtk/gtkcolorsel.c: Fix grabbing color to be multihead
        safe.

        * gtk/gtkwidget.c: Allow gtk_widget_push_colormap (NULL).
        since it is useful for writing code that doesn't
        know the dcurrent state but needs a clean colormap.

        * gtk/gtkrc.c: When loading the settings for a particular
        screen, only reset toplevels on that screen.

        * gtk/gtkiconfactory.h: Fix #ifdef GTK_MULTIHEAD_SAFE
        that should have been #ifndef GTK_MULTIHEAD_SAFE.

21 years agoDeprecation cleanup
Manish Singh [Mon, 7 Oct 2002 19:10:39 +0000 (19:10 +0000)]
Deprecation cleanup

Mon Oct  7 11:59:33 2002  Manish Singh  <yosh@gimp.org>

        * gtk/gtkliststore.[ch] gtk/gtktreedatalist.[ch] gtk/gtktreednd.c
        gtk/gtktreemodel.[ch] gtk/gtktreemodelsort.[ch]
        gtk/gtktreeselection.[ch] gtk/gtktreesortable.[ch]
        gtk/gtktreestore.[ch]: Deprecation cleanup

21 years agoFix some prototypes that had () instead of (void).
Owen Taylor [Mon, 7 Oct 2002 18:59:42 +0000 (18:59 +0000)]
Fix some prototypes that had () instead of (void).

Mon Oct  7 14:51:21 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkx.h: Fix some prototypes that had
        () instead of (void).

21 years agoClean up the handling of clearing transient state settings, fixing bug
Owen Taylor [Mon, 7 Oct 2002 16:51:50 +0000 (16:51 +0000)]
Clean up the handling of clearing transient state settings, fixing bug

Mon Oct  7 12:40:39 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkwindow.c (gtk_window_move_resize): Clean
        up the handling of clearing transient state
        settings, fixing bug #95026, reported by Jami
        Pekannen.

21 years agoIf Mode_switch is used for a known modifier like Mod1, assume it won't be
Owen Taylor [Mon, 7 Oct 2002 16:06:31 +0000 (16:06 +0000)]
If Mode_switch is used for a known modifier like Mod1, assume it won't be

Mon Oct  7 11:45:17 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkkeys-x11.c (update_keymaps): If Mode_switch
        is used for a known modifier like Mod1, assume it won't
        be used to switch group. (#94841, problem reported by
        Szekeres Istvan)

21 years agogdk_image_get_pixel, gdk_image_put_pixel: Fixed sense of bounds checks.
Bill Haneman [Mon, 7 Oct 2002 15:16:06 +0000 (15:16 +0000)]
gdk_image_get_pixel, gdk_image_put_pixel: Fixed sense of bounds checks.

21 years agoDeprecation cleanup
Manish Singh [Mon, 7 Oct 2002 04:29:52 +0000 (04:29 +0000)]
Deprecation cleanup

Sun Oct  6 21:23:29 2002  Manish Singh  <yosh@gimp.org>

        * gtk/gtkcontainer.[ch] gtk/gtkbox.[ch] gtk/gtkhbox.[ch]
        gtk/gtkvbox.[ch]: Deprecation cleanup

21 years agodeprecation cleanup
Manish Singh [Mon, 7 Oct 2002 01:38:40 +0000 (01:38 +0000)]
deprecation cleanup

Sun Oct  6 18:32:11 2002  Manish Singh  <yosh@gimp.org>

        * gtk/gtkcelleditable.c gtk/gtkcellrenderer.[ch]
        gtk/gtkcellrendererpixbuf.[ch] gtk/gtkcellrenderertext.[ch]
        gtk/gtkcellrenderertoggle.[ch]: deprecation cleanup

21 years agodeprecation cleanup
Manish Singh [Sat, 5 Oct 2002 23:15:39 +0000 (23:15 +0000)]
deprecation cleanup

Sat Oct  5 16:11:22 2002  Manish Singh  <yosh@gimp.org>

        * gtk/gtkmisc.[ch] gtk/gtklabel.[ch] gtk/gtkimage.[ch]
        gtk/gtkdrawingarea.[ch] gtk/gtknotebook.[ch]: deprecation cleanup

21 years agoUse $(top_builddir) instead of here-undefined $$topdir. (Problem reported
Owen Taylor [Sat, 5 Oct 2002 22:39:36 +0000 (22:39 +0000)]
Use $(top_builddir) instead of here-undefined $$topdir. (Problem reported

Sat Oct  5 18:30:50 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/stock-icons/Makefile.am (pixbuf_csource): Use
        $(top_builddir) instead of here-undefined $$topdir.
        (Problem reported by Jacob Berkman)

21 years agoat Oct 5 18:25:11 2002 Owen Taylor <otaylor@redhat.com>
Owen Taylor [Sat, 5 Oct 2002 22:36:36 +0000 (22:36 +0000)]
at Oct  5 18:25:11 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtknotebook.c (gtk_notebook_draw_tab): Fix
        &expose_event vs expose_event problem (#94898,
        reported by Jon-Kare Hellan)

21 years agoUpdated Norwegian (bokmål) translation.
Kjartan Maraas [Sat, 5 Oct 2002 21:30:20 +0000 (21:30 +0000)]
Updated Norwegian (bokmål) translation.

2002-10-04  Kjartan Maraas  <kmaraas@gnome.org>

* no.po: Updated Norwegian (bokmål) translation.

21 years agodocs/reference/gtk/tmpl/gtkfontseldlg.sgml, gdk/gdkwindow.c,
Soeren Sandmann [Sat, 5 Oct 2002 15:09:29 +0000 (15:09 +0000)]
docs/reference/gtk/tmpl/gtkfontseldlg.sgml, gdk/gdkwindow.c,

Sat Oct  5 16:47:03 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

* docs/reference/gtk/tmpl/gtkfontseldlg.sgml, gdk/gdkwindow.c,
gdk/x11/gdkwindow-x11.c, gtk/gtkfontsel.h, gtk/gtkimcontext.c,
gtk/gtktreeview.c, gtk/gtktreeviewcolumn.c

Documentation fixes:

#75170, Dan Winship;
#73220, Havoc Pennington;
#70742, Boris Shingarov;
#72007, Alexey A. Malyshev

21 years agoDeprecation cleanup
Manish Singh [Sat, 5 Oct 2002 01:51:16 +0000 (01:51 +0000)]
Deprecation cleanup

Fri Oct  4 18:40:50 2002  Manish Singh  <yosh@gimp.org>

        * gtkcheckmenuitem.[ch] gtkimagemenuitem.[ch] gtkmenu.[ch]
        gtkmenubar.[ch] gtkmenuitem.[ch] gtkmenushell.[ch]
        gtkradiomenuitem.[ch]: Deprecation cleanup

21 years agoDeprecation cleanup
Manish Singh [Fri, 4 Oct 2002 23:50:27 +0000 (23:50 +0000)]
Deprecation cleanup

Fri Oct  4 16:48:27 2002  Manish Singh  <yosh@gimp.org>

        * gtkaspectframe.[ch] gtkbin.[ch] gtkframe.[ch] gtkhruler.[ch]
        gtkruler.[ch] gtkvruler.[ch]: Deprecation cleanup

21 years agoDeprecation cleanup
Manish Singh [Fri, 4 Oct 2002 22:49:28 +0000 (22:49 +0000)]
Deprecation cleanup

Fri Oct  4 15:47:06 2002  Manish Singh  <yosh@gimp.org>

        * gtkbbox.[ch] gtkhbbox.[ch] gtkhscale.[ch] gtkscale.[ch]
        gtkvscale.[ch] gtkvbbox.[ch]: Deprecation cleanup

21 years agoFix memory intilization error caused by my previous checkin. #94908 a
Hidetoshi Tajima [Fri, 4 Oct 2002 22:41:24 +0000 (22:41 +0000)]
Fix memory intilization error caused by my previous checkin. #94908 a

* modules/input/gtkimcontextxim.c (get_ic_real): Fix memory
intilization error caused by my previous checkin.
#94908 a patch from famao@momonga-linux.org (Motonobu Ichimura)

21 years agoImprove checks on public entry points, including, among other things
Owen Taylor [Fri, 4 Oct 2002 21:25:47 +0000 (21:25 +0000)]
Improve checks on public entry points, including, among other things

Fri Oct  4 17:13:03 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkdnd.c: Improve checks on public entry points,
        including, among other things checking whether drag
        contexts passed in are source or dest. (Fixes
        #76762, Alexey A. Malyshev)

        * tests/testtext.c tests/testgtk.c tests/testdnd.c:
        Fix uninstalled operation for new pixbuf changes.

        * gtk/stock-icons/Makefile.am (pixbuf_csource):
        Fix makefile for uninstalled operation.

21 years agoremove unused codepath.
Soeren Sandmann [Fri, 4 Oct 2002 19:46:36 +0000 (19:46 +0000)]
remove unused codepath.

Fri Oct  4 21:21:47 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtkhandlebox.c (gtk_handle_box_paint): remove unused
codepath.

* gtk/gtkmenuitem.c (gtk_real_menu_item_{de,}select): call
gtk_widget_queue_draw() instead of gtk_widget_draw().

21 years agoPatch from Shivram U <shivaram.upadhyayula@wipro.com>
Owen Taylor [Fri, 4 Oct 2002 18:59:49 +0000 (18:59 +0000)]
Patch from Shivram U <shivaram.upadhyayula@wipro.com>

Fri Oct  4 14:49:04 2002  Owen Taylor  <otaylor@redhat.com>

        Patch from Shivram U <shivaram.upadhyayula@wipro.com>

        * gdk/x11/gdkkeys-x11.c (update_keymaps): Increased the keycount to
        (max_keycode - min_keycode) + 1 from (max_keycode - min_keycode).
        (update_keymaps), (gdk_keymap_get_entries_for_keyval) looping through
        less than or equal to max_keycode. (#79184)

21 years agoRemove this
Anders Carlsson [Fri, 4 Oct 2002 18:28:45 +0000 (18:28 +0000)]
Remove this

21 years agomake legal C
jacob berkman [Fri, 4 Oct 2002 17:07:04 +0000 (17:07 +0000)]
make legal C

2002-10-04  jacob berkman  <jacob@ximian.com>

* gdk/x11/gdkscreen-x11.c (init_xinerama_support): make legal C

21 years agoFix envars for uninstalled operation of gdk-pixbuf
Owen Taylor [Fri, 4 Oct 2002 16:17:29 +0000 (16:17 +0000)]
Fix envars for uninstalled operation of gdk-pixbuf

Fri Oct  4 12:05:27 2002  Owen Taylor  <otaylor@redhat.com>

        * demos/Makefile.am (pixbuf_csource): Fix envars
        for uninstalled operation of gdk-pixbuf

        * demos/Makefile.am (test-inline-pixbufs.h): Remove
        output on failure.

21 years agoGet the name right.
Owen Taylor [Fri, 4 Oct 2002 16:08:19 +0000 (16:08 +0000)]
Get the name right.

Fri Oct  4 12:00:10 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdkscreen.c (gdk_screen_class_init): Get the
        name right.

        * gdk/x11/gdkscreen-x11.c (gdk_screen_x11_class_init):
        Fix function that should have been static.

21 years agoAdd a check for the Xrandr extension.
Owen Taylor [Fri, 4 Oct 2002 15:58:19 +0000 (15:58 +0000)]
Add a check for the Xrandr extension.

Fri Oct  4 11:43:47 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in: Add a check for the Xrandr extension.

        * gdk/gdkscreen.[ch]: Add a size-changed signal.

        * gdk/x11/gdkscreen-x11.[ch]: Patch from Keith packard
        to hook up ConfigureNotify events on the root window
        to the ::size-changed signal. (#94560)

        * gtk/gtkimcontextsimple.c: Warning fixes

21 years agoDeprecation cleanup
Manish Singh [Fri, 4 Oct 2002 08:02:14 +0000 (08:02 +0000)]
Deprecation cleanup

Fri Oct  4 00:57:53 2002  Manish Singh  <yosh@gimp.org>

        * gtkhscrollbar.[ch] gtkhseparator.[ch] gtkrange.[ch]
        gtkscrollbar.[ch] gtkseparator.[ch] gtkseparatormenuitem.h
        gtkvscrollbar.[ch] gtkvseparator.[ch]: Deprecation cleanup

21 years agomake it legal C
Manish Singh [Fri, 4 Oct 2002 05:46:51 +0000 (05:46 +0000)]
make it legal C

Thu Oct  3 22:38:12 2002  Manish Singh  <yosh@gimp.org>

        * gdk-pixbuf/queryloaders.c: make it legal C

21 years agomake legal C
jacob berkman [Fri, 4 Oct 2002 05:23:13 +0000 (05:23 +0000)]
make legal C

2002-10-04  jacob berkman  <jacob@ximian.com>

* queryloaders.c (query_module): make legal C

21 years agoimplement maximize for linux-fb
Eric Warmenhoven [Thu, 3 Oct 2002 23:45:03 +0000 (23:45 +0000)]
implement maximize for linux-fb

Thu Oct  3 16:40:18 2002 Eric Warmenhoven <eric@warmenhoven.org>

        * gdk/gdkevents.c, gdk/linux-fb/gdkwindow-fb.c,
        gtk/gtkwindow-decorate.c: implement maximize for linux-fb

        * gdk/linux-fb/gdkkeyboard-fb.c: implement raw keyboard mode

        * gdk/linux-fb/Makefile.am, gdk/linux-fb/gdkdnd-fb.c,
        gdk/linux-fb/gdkmain-fb.c, gdk/linux-fb/gdkselection-fb.c,
        gdk/linux-fb/miarc.c, gdk/linux-fb/mifpolycon.c,
        gdk/linux-fb/miwideline.c, gdk/linux-fb/mizerclip.c,
        gdk/linux-fb/mizerline.c: small cleanups

21 years agoFix error in computing length and a memory leak. (Fixes #94072, reported
Owen Taylor [Thu, 3 Oct 2002 23:23:16 +0000 (23:23 +0000)]
Fix error in computing length and a memory leak. (Fixes #94072, reported

Thu Oct  3 19:00:55 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkselection-x11.c (gdk_selection_property_get):
        Fix error in computing length and a memory leak.
        (Fixes #94072, reported by Hema Seetharamaiah)

        * gtk/gtkmenu.c (gtk_menu_motion_notify): Fix &event
        used instead of event.

21 years agoAdjustments for recent gdk-pixbuf changes.
Matthias Clasen [Thu, 3 Oct 2002 22:49:35 +0000 (22:49 +0000)]
Adjustments for recent gdk-pixbuf changes.

21 years agoSupport for separately installed loaders. (#77486)
Matthias Clasen [Thu, 3 Oct 2002 22:39:51 +0000 (22:39 +0000)]
Support for separately installed loaders. (#77486)

* Makefile.am gdk-pixbuf-animation.c gdk-pixbuf-data.c
gdk-pixbuf-io.c gdk-pixbuf-io.h gdk-pixbuf-loader.c
gdk-pixbuf-loader.h gdk-pixbuf-private.h gdk-pixbuf.h
gdk-pixdata.c io-ani-animation.h io-ani.c io-bmp.c
io-gif-animation.c io-gif-animation.h io-gif.c io-ico.c
io-jpeg.c io-png.c io-pnm.c io-ras.c io-tga.c io-tiff.c
io-wbmp.c io-xbm.c io-xpm.c pixbufloader_ani.def
pixbufloader_bmp.def pixbufloader_gif.def pixbufloader_ico.def
pixbufloader_jpeg.def pixbufloader_png.def
pixbufloader_pnm.def pixbufloader_ras.def pixbufloader_tga.def
pixbufloader_tiff.def pixbufloader_wbmp.def
pixbufloader_xbm.def pixbufloader_xpm.def test-gdk-pixbuf.c
gdk-pixbuf-animation.h queryloaders.c: Support for separately
installed loaders.  (#77486)

21 years agoFix memory leak. (#94399)
Owen Taylor [Thu, 3 Oct 2002 22:32:39 +0000 (22:32 +0000)]
Fix memory leak. (#94399)

Thu Oct  3 18:25:57 2002  Owen Taylor  <otaylor@redhat.com>

        * io-jpeg.c (gdk_pixbuf__jpeg_image_save):
        Fix memory leak. (#94399)

21 years agoget XDisplay from window instead of display, as display has not been
Kristian Rietveld [Thu, 3 Oct 2002 21:44:31 +0000 (21:44 +0000)]
get XDisplay from window instead of display, as display has not been

Thu Oct  3 23:53:43 2002  Kristian Rietveld  <kris@gtk.org>

        * gdk/x11/gdkwindow-x11.c (_gdk_windowing_window_destroy): get
        XDisplay from window instead of display, as display has not been
        defined here (fixes the build).

21 years agoRestore the pre-Xft2 code to render text directly via RENDER,
Owen Taylor [Thu, 3 Oct 2002 21:17:07 +0000 (21:17 +0000)]
Restore the pre-Xft2 code to render text directly via RENDER,

Thu Oct  3 17:09:23 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/{gdkdrawable-x11.[ch],gdkpixmap-x11.c,
        gdkwindow-x11.c}: Restore the pre-Xft2 code to
        render text directly via RENDER, conditionalized
        with !HAVE_XFT2 so that we'll build again on Xft1
        systems. (#90181)

21 years agoAdd a 'type' parameter, make public.
Owen Taylor [Thu, 3 Oct 2002 20:53:30 +0000 (20:53 +0000)]
Add a 'type' parameter, make public.

Thu Oct  3 14:13:33 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdkevents.c (gdk_event_new): Add a 'type'
        parameter, make public.

        * gdk/gdkevents.c (gdk_event_copy): Copy the screen.

        * gdk/gdkevents.c gdk/linux-fb/gdkmain-fb.c
        gdk/x11/gdkevents-x11.c gdk/win32/gdkevents-win32.c:
        _gdk_event_new() => gdk_event_new().

        * gdk/win32/gdkevents-win32.c (real_window_procedure):
        Fix event_private->screen breakage that results from evil
        encapsulation breakage here.

        * gtk/gtkclist.c gtk/gtkcombo.c gtk/gtkcontainer.c
        gtk/gtkdialog.c gtk/gtkdnd.c gtk/gtkdrawingarea.c
        gtk/gtkimcontextsimple.c gtk/gtklist.c gtk/gtkmenu.c
        gtk/gtknotebook.c gtk/gtkplug.c gtk/gtkselection.c
        gtk/gtktext.c gtk/gtktreeitem.c gtk/gtktreeview.c
        gtk/gtkviewport.c gtk/gtkwindow-decorate.c gtk/gtkwindow.c
        tests/testgtk.c: Remove most usage of stack-allocated
        GdkEvent structures.

        * gtk/gtktreeview.c: Use a cut-and-paste of the full
        send_focus_event() from gtkwindow.c that does the necessary
        notification of the ::has-focus property and setting of
        the HAS_FOCUS flag.x

        * gtk/gtkdnd.c: Clean up some mess/duplicated code; removing
        an extraneous use of a GdkEvent.

21 years agoExport _gdk_draw_pixbuf as gdk_draw_pixbuf(), rename the _draw_pixbuf
Owen Taylor [Wed, 2 Oct 2002 22:30:37 +0000 (22:30 +0000)]
Export _gdk_draw_pixbuf as gdk_draw_pixbuf(), rename the _draw_pixbuf

Wed Oct  2 17:46:53 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdkdrawable.h gdk/gdkinternals.h gdk/gdkdraw.c
        gdk/gdkwindow.c gdk/gdkdrawable.c: Export _gdk_draw_pixbuf
        as gdk_draw_pixbuf(), rename the _draw_pixbuf virtual
        function to draw_pixbuf. (#60582)

        * gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable[_alpha]):
        Note that these functions are obsolete in the docs.

        * gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable):
        Remove all the sanity checks now we make it clear
        that it is obsolete name for gdk_draw_pixbuf().

        * gdk/gdkpixmap.c gtk/gtkcellrendererpixbuf.c gtk/gtkimage.c
          gtk/gtkpixmap.c demos/testpixbuf-scale.c demos/testpixbuf.c
          tests/testrgb.c: Use gdk_draw_pixbuf() everywhere.

        * gtk/gtklabel.c (gtk_label_set_mnemonic_widget): Fix
        some warnings.

        * gdk/gdkinternals.h (struct _GdkEventPrivate): Fix missed
        bit from last gdk_event_get_screen() change.

        * gdk/gdkevents.c: Couple of small fixes.i

21 years agoAdd gdk_screen_set_screen()/_get_screen() which (by evil hacks) work for
Owen Taylor [Wed, 2 Oct 2002 21:39:09 +0000 (21:39 +0000)]
Add gdk_screen_set_screen()/_get_screen() which (by evil hacks) work for

Wed Oct  2 17:36:42 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdkevents.[ch] gdk/x11/gdkevents-x11.[ch]: Add
        gdk_screen_set_screen()/_get_screen() which (by evil
        hacks) work for for heap allocated events and
        fall back gracefully for stack allocated events.

21 years agoPrivately export: _gtk_settings_set_property_value_from_rc()
Owen Taylor [Wed, 2 Oct 2002 14:22:31 +0000 (14:22 +0000)]
Privately export: _gtk_settings_set_property_value_from_rc()

Wed Oct  2 08:47:31 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtksettings.[ch]: Privately export:
        _gtk_settings_set_property_value_from_rc()
        _gtk_settings_reset_rc_values() so that we can reset
        settings set from RC files when reloading RC files.
        (#94610)

        * gtk/gtkrc.c: Hook up RC file setting resetting.

21 years agoPatch from Andy Wingo to always escape ? to avoid accidentally generating
Owen Taylor [Tue, 1 Oct 2002 21:42:36 +0000 (21:42 +0000)]
Patch from Andy Wingo to always escape ? to avoid accidentally generating

Tue Oct  1 17:35:43 2002  Owen Taylor  <otaylor@redhat.com>

        * gdkpixdata.c: Patch from Andy Wingo to always
        escape ? to avoid accidentally generating trigraphs
        in the output (#94631)

21 years agoDeprecation cleanup
Manish Singh [Tue, 1 Oct 2002 19:55:08 +0000 (19:55 +0000)]
Deprecation cleanup

Tue Oct  1 12:53:44 2002  Manish Singh  <yosh@gimp.org>

        * gtk/gtkwindow-decorate.c gtkwindow.[ch]: Deprecation cleanup

21 years agodeclare parent_class static
jacob berkman [Tue, 1 Oct 2002 19:00:17 +0000 (19:00 +0000)]
declare parent_class static

2002-10-01  jacob berkman  <jacob@ximian.com>

* gtk/gtkinvisible.c:
* gtk/gtkclipboard.c: declare parent_class static

21 years agoFixed alphabetical order (bug #91258).
Stanislav Brabec [Tue, 1 Oct 2002 10:20:15 +0000 (10:20 +0000)]
Fixed alphabetical order (bug #91258).

2002-10-01  Stanislav Brabec  <sbrabec@suse.cz>

* gtk/gtkimcontextsimple.c: Fixed alphabetical order (bug #91258).