summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove assorted G_OBJECT casts where unnecessary.Sebastian Wilhelmi2001-12-1334-69/+144
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-12-13 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * gdk-pixbuf-animation.c, gdk-pixbuf-loader.c, gdk-pixpuf.c, io-gif-animation.c, io-gif.c, io-tiff.c, test-loaders.c: Remove assorted G_OBJECT casts where unnecessary. * gdk-pixbuf-loader.c: Call g_object_ref and g_object_unref instead of gdk_pixbuf_animation_ref and gdk_pixbuf_animation_unref resp. * gdk-pixbuf-csource.c, io-bmp.c, io-gif-animation.c, io-ico.c, io-jpeg.c, io-png.c, io-pnm.c, io-ras.c, io-tga.c, io-wbmp.c, io-xbm.c, io-xpm.c, test-gdk-pixbuf.c: Dito for gdk_pixbuf_ref and gdk_pixbuf_unref. * Makefile.am, pixops/Makefile.am: Compile everything with -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED * gdk-pixdata.c: Use g_ascii_strup() instead of g_strup(). * io-xpm.c: Use g_ascii_strcasecmp() instead of g_strcasecmp(). * demos/testpixbuf-drawable.c, demos/testpixbuf-save.c, demos/testpixbuf-scale.c, demos/testpixbuf.c: Call g_object_ref and g_object_unref instead of gdk_pixbuf_ref and gdk_pixbuf_unref resp.
* free path at the endKristian Rietveld2001-12-138-0/+37
| | | | | | | Thu Dec 13 22:02:41 2001 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeview.c (validate_visible_area): free path at the end
* Updated Norwegian (bokmål) translation.Kjartan Maraas2001-12-132-194/+273
| | | | | | 2001-12-13 Kjartan Maraas <kmaraas@gnome.org> * no.po: Updated Norwegian (bokmål) translation.
* Markup fixes.Matthias Clasen2001-12-1349-396/+451
| | | | | | | | | | | | | | | | | | | | | | | | * gtk/gtkdialog.c, gtk/gtkrc.c, gtk/gtkwidget.c: Markup fixes. * gdk-pixbuf-io.c: Markup fixes. * gdk-pixbuf/tmpl/scaling.sgml, gdk/tmpl/fonts.sgml, gdk/tmpl/general.sgml, gdk/tmpl/rgb.sgml, gdk/tmpl/visuals.sgml, gdk/tmpl/windows.sgml, gtk/gtk-docs.sgml, gtk/tmpl/gtkaccellabel.sgml, gtk/tmpl/gtkcombo.sgml, gtk/tmpl/gtkdialog.sgml, gtk/tmpl/gtkdrawingarea.sgml, gtk/tmpl/gtkeditable.sgml, gtk/tmpl/gtkfilesel.sgml, gtk/tmpl/gtkfontseldlg.sgml, gtk/tmpl/gtkimage.sgml, gtk/tmpl/gtkmain.sgml, gtk/tmpl/gtkmenu.sgml, gtk/tmpl/gtkmessagedialog.sgml, gtk/tmpl/gtkobject.sgml, gtk/tmpl/gtkpaned.sgml, gtk/tmpl/gtkradiobutton.sgml, gtk/tmpl/gtkrc.sgml, gtk/tmpl/gtkscale.sgml, gtk/tmpl/gtksignal.sgml, gtk/tmpl/gtksocket.sgml, gtk/tmpl/gtkspinbutton.sgml, gtk/tmpl/gtktogglebutton.sgml, gtk/tmpl/gtksignal.sgml, gtk/tmpl/gtktooltips.sgml, gtk/tmpl/gtkwindow.sgml, gdk/tmpl/regions.sgml, gtk/tmpl/gtkfontsel.sgml, gtk/tmpl/gtkpixmap.sgml, gtk/tmpl/gtkprogress.sgml, gtk/tmpl/gtkselection.sgml, gtk/tmpl/gtktable.sgml, gtk/tmpl/gtktipsquery.sgml: Markup fixes (mainly examples).
* do not try to find the clicked node in the tree when tree == NULLKristian Rietveld2001-12-138-1/+37
| | | | | | | Thu Dec 13 20:37:27 2001 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeview.c (gtk_tree_view_button_press): do not try to find the clicked node in the tree when tree == NULL
* Compare event->state with the default mod mask.Anders Carlsson2001-12-138-1/+36
| | | | | | | 2001-12-13 Anders Carlsson <andersca@gnu.org> * gtk/gtktreeview.c (gtk_tree_view_button_press): Compare event->state with the default mod mask.
* Updated Slovak translation.Stanislav Visnovsky2001-12-132-90/+98
| | | | | | 2001-12-13 Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz> * sk.po: Updated Slovak translation.
* s/obj/klass/ where appropriatejacob berkman2001-12-1218-11/+39
| | | | | | 2001-12-12 jacob berkman <jacob@ximian.com> * gtk/gtk*.h (GTK_IS_*_CLASS): s/obj/klass/ where appropriate
* Reset the existing slave before removing it to give it a chance to commitOwen Taylor2001-12-128-7/+65
| | | | | | | | Wed Dec 12 17:22:45 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkimmulticontext.c (gtk_im_multicontext_set_slave): Reset the existing slave before removing it to give it a chance to commit and emit "preedit_changed" in case there was still a preedit string.
* Typo fixes Typo fix. (#66746)Matthias Clasen2001-12-1217-33/+99
| | | | | | | | | | | | | | | | | * gtk/gtktextlayout.c: Typo fixes * gtk/gtkwindow.c (gtk_window_set_position): Typo fix. (#66746) * gtk/gtkwidget.c (gtk_widget_send_expose, gtk_widget_get_toplevel, gtk_widget_get_default_direction): Doc fixes. (#66727, #66737, #66744) * gtk/gtkstyle.h (GTK_STYLE_NUM_STYLECOLORS): Remove. (#66467) * gtk/tmpl/gtklist.sgml: Markup fixes. * gdk/tmpl/selections.sgml, gtk/tmpl/gtksocket.sgml: s/succesful/successful/g. * gtk/gtk-sections.txt, gtk/tmpl/gtkstyle.sgml: Remove GTK_STYLE_NUM_STYLECOLORS. (#66467)
* define G_LOG_DOMAIN for GdkPixbuf.Matthias Clasen2001-12-122-1/+4
|
* Remove validate_rows_timer in unrealize. Reported by Matthew Wilson.Jonathan Blandford2001-12-128-0/+41
| | | | | | | Wed Dec 12 16:43:10 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreeview.c (gtk_tree_view_unrealize): Remove validate_rows_timer in unrealize. Reported by Matthew Wilson.
* Markup fixes.Matthias Clasen2001-12-123-13/+17
| | | | * gdk-pixbuf-loader.c, gdk-pixbuf-util.c: Markup fixes.
* Remove support for "prepainting" the menu before realizing other than viaOwen Taylor2001-12-128-17/+95
| | | | | | | | | | | Wed Dec 12 16:18:26 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkmenu.c (gtk_menu_realize): Remove support for "prepainting" the menu before realizing other than via gtk_style_set_background() - this was broken when we added menu scroll support. * gtk/gtkmenu.c (gtk_menu_paint): Pay attention to the window in the expose event -- fixes problem with border flashing during scrolling.
* Support using names/nicks for the gdk_settings values for enum valuedOwen Taylor2001-12-128-1/+50
| | | | | | | Wed Dec 12 15:11:49 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtksettings.c (gtk_settings_get_property): Support using names/nicks for the gdk_settings values for enum valued types. (#57678, reported by Anders Carlsson)
* keep in sync with insert_page_menu. Code duplication is bad.Jonathan Blandford2001-12-129-1/+65
| | | | | | | | | | Wed Dec 12 15:01:33 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtknotebook.c (gtk_notebook_set_tab_label): keep in sync with insert_page_menu. Code duplication is bad. * gtk/gtklabel.c (gtk_label_mnemonic_activate): Whoops -- got the wrong fix yesterday.
* Fix check for modifiers.Owen Taylor2001-12-128-1/+37
| | | | | | Wed Dec 12 14:27:30 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkmenubar.c (window_key_press_handler): Fix check for modifiers.
* check GTK_MENU_ITEM (menu_item)->accel_path first when looking up theJames Henstridge2001-12-128-1/+38
| | | | | | | 2001-12-12 James Henstridge <james@daa.com.au> * gtk/gtkmenu.c (gtk_menu_key_press): check GTK_MENU_ITEM (menu_item)->accel_path first when looking up the accel path.
* add another exampleHavoc Pennington2001-12-122-1/+69
| | | | | | 2001-12-12 Havoc Pennington <hp@pobox.com> * gtk/text_widget.sgml: add another example
* Only draw for events on the bin window.Owen Taylor2001-12-128-6/+40
| | | | | | | Tue Dec 11 19:18:21 2001 Owen Taylor <otaylor@redhat.com> * tests/testgtk.c (layout_expose_handler): Only draw for events on the bin window.
* Small fix to let mnemonics work with notebooks.Jonathan Blandford2001-12-118-0/+39
| | | | | | | Tue Dec 11 18:55:16 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtklabel.c (gtk_label_mnemonic_activate): Small fix to let mnemonics work with notebooks.
* Change bin_window to be located at y=TREE_VIEW_HEADER_HEIGHT(tree_view).Jonathan Blandford2001-12-118-20/+54
| | | | | | | | Tue Dec 11 15:25:06 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreeview.c (gtk_tree_view_size_allocate): Change bin_window to be located at y=TREE_VIEW_HEADER_HEIGHT(tree_view). Makes some flicker while scrolling go away.
* added new keyboard shortcut 'a' which adds alpha to the pixbuf; re-loadMichael Natterer2001-12-118-6/+151
| | | | | | | | 2001-12-11 Michael Natterer <mitch@gimp.org> * demos/testpixbuf-save.c: added new keyboard shortcut 'a' which adds alpha to the pixbuf; re-load the saved pixbuf and pixel-by-pixel compare it with the original one.
* gdk_pixbuf__png_image_save: removed wrong endian conversion stuff; don'tMichael Natterer2001-12-112-36/+9
| | | | | | | | 2001-12-11 Michael Natterer <mitch@gimp.org> * io-png.c: gdk_pixbuf__png_image_save: removed wrong endian conversion stuff; don't copy RGB pixbufs' lines around before saving them.
* *** empty log message ***Wang Jian2001-12-112-1104/+1002
|
* Fix wrong ChangeLog entry Fix drawing of top right cornerSoeren Sandmann2001-12-118-22/+29
| | | | | | | | Tue Dec 11 15:39:08 2001 Soeren Sandmann <sandmann@daimi.au.dk> * ChangeLog: Fix wrong ChangeLog entry * gtk/gtkstyle.c (gtk_default_draw_shadow_gap): Fix drawing of top right corner
* *** empty log message ***Søren Sandmann Pedersen2001-12-117-0/+35
|
* remove <<<<<<<Jonathan Blandford2001-12-117-7/+0
|
* do not grab things if the nograb debug flag is setjacob berkman2001-12-117-0/+77
| | | | | | | | | | | | | 2001-12-10 jacob berkman <jacob@ximian.com> * gdk/x11/gdkinput-xfree.c (_gdk_input_grab_pointer): * gdk/x11/gdkmain-x11.c (gdk_pointer_grab): (gdk_keyboard_grab): do not grab things if the nograb debug flag is set * gdk/gdkinternals.h: * gdk/gdk.c: add nograbs debug flag to disable grabs of the keyboard / mouse
* *** empty log message ***Jacob Berkman2001-12-114-32/+40
|
* stupid bug where I didn't reset the timer.Jonathan Blandford2001-12-118-6/+41
| | | | | | | Mon Dec 10 19:42:29 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreeview.c (validate_rows_handler): stupid bug where I didn't reset the timer.
* Close comment.Matthias Clasen2001-12-109-0/+103
| | | | | | * gtk/gtkcontainer.c (gtk_container_child_type): Close comment. * gtk/gtkviewport.c: Add docs.
* New function to fixup parity. RBTree corruption bug--Jonathan Blandford2001-12-108-56/+88
| | | | | | | Mon Dec 10 16:21:38 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtkrbtree.c (_fixup_parity): New function to fixup parity. RBTree corruption bug--
* Return if edited_column is NULL, also grab focus before removing theAnders Carlsson2001-12-108-2/+48
| | | | | | | | 2001-12-10 Anders Carlsson <andersca@gnu.org> * gtk/gtktreeview.c (gtk_tree_view_remove_widget): Return if edited_column is NULL, also grab focus before removing the cell_editable.
* check for 0 value on the denominator in the horizontal case just like weGeorge Lebl2001-12-098-4/+54
| | | | | | | | | Sun Dec 09 15:06:51 2001 George Lebl <jirka@5z.com> * gtk/gtkrange.c (gtk_range_calc_layout): check for 0 value on the denominator in the horizontal case just like we do in the vertical case (why I didn't notice that there were two cases the first time around is beyond me:). Also fix indentation in the vertical case.
* Update xsettings name.Anders Carlsson2001-12-0910-6/+97
| | | | | | | | | | | | 2001-12-09 Anders Carlsson <andersca@gnu.org> * gdk/x11/gdkevents-x11.c: Update xsettings name. * gtk/gtkdnd.c (gtk_drag_check_threshold): Use the gtk-dnd-drag-threshold GtkSetting. * gtk/gtksettings.c (gtk_settings_class_init): Add setting for dnd drag threshold.
* Add docs.Matthias Clasen2001-12-094-81/+155
| | | | | | | | | * gtk/gtkcontainer.c: Add docs. * gtk/tmpl/gtkmain.sgml: Markup fixes. * gtk/gtk-docs.sgml: Add an empty entity to suppress crossreferencing in programlistings.
* Add docs.Matthias Clasen2001-12-097-0/+28
| | | | | | | | | * gtk/gtkcontainer.c: Add docs. * gtk/tmpl/gtkmain.sgml: Markup fixes. * gtk/gtk-docs.sgml: Add an empty entity to suppress crossreferencing in programlistings.
* Doc markup fix.Matthias Clasen2001-12-0814-84/+188
| | | | | | | | | | | | | | | | * gtk/gtkwidget.c: Doc markup fix. * gtk/gtktreeviewcolumn.c: Markup fixes. (#66447) * gtk/gtktreestore.c: Typo fixes. (#66445) * gtk/gtkaccelgroup.c: Misc doc markup. (#66425) * gtk/gtkclipboard.c (gtk_clipboard_get_owner): Fix reference to gtk_clipboard_set_with_owner(). (#66424) * gtk/tmpl/gtkclipboard.sgml: Fix references to get_clipboard_set_with_owner(). (#66424)
* Fallback to setting the prgname to "<unknown>" if someone doesn't pass inChristopher Blizzard2001-12-088-1/+46
| | | | | | | | Sat Dec 8 16:12:10 2001 Christopher Blizzard <blizzard@redhat.com> * gdk/gdk.c (gdk_init_check): Fallback to setting the prgname to "<unknown>" if someone doesn't pass in a valid argc. (Patch from Fabrice Bellet <fabrice@gnu.org>, #54127).
* Add debug spew to lots of places, so that people with crashy trees canJonathan Blandford2001-12-088-19/+87
| | | | | | | | Sat Dec 8 10:04:54 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtkrbtree.c (_gtk_rbtree_debug_spew): Add debug spew to lots of places, so that people with crashy trees can just run their program with GTK_DEBUG=TREE.
* nuke the stamp++, per jrb's requestKristian Rietveld2001-12-088-1/+35
| | | | | | | Sat Dec 8 20:57:24 2001 Kristian Rietveld <kristian@planet.nl> * gtk/gtkliststore.c (gtk_list_store_remove): nuke the stamp++, per jrb's request
* Updated Swedish translation.Christian Rose2001-12-082-143/+171
| | | | | | 2001-12-08 Christian Rose <menthos@menthos.com> * sv.po: Updated Swedish translation.
* Don't return TRUE since then the default GtkLayout expose handler won't beAnders Carlsson2001-12-088-1/+36
| | | | | | | 2001-12-08 Anders Carlsson <andersca@gnu.org> * tests/testgtk.c (layout_expose_handler): Don't return TRUE since then the default GtkLayout expose handler won't be called.
* remove g_return_if_fail.Jonathan Blandford2001-12-088-3/+68
| | | | | | | | | | | Fri Dec 7 23:42:50 2001 Jonathan Blandford <jrb@webwynk.net> * gtk/gtktreeview.c (validate_rows_handler): remove g_return_if_fail. * gtk/gtktreeview.c (validate_visible_area): Patch from Manish Singh <yosh@gimp.org> to fix bug when rendering Tree with an empty model.
* get logic right, #66249Jonathan Blandford2001-12-0812-124/+396
| | | | | | | | | | | | | | Fri Dec 7 20:06:14 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreeview.c (validate_visible_area): get logic right, #66249 * gtk/gtkrbtree.c (_gtk_rbtree_remove_node): fix bug where removing a node ended up with a corrupt tree. Really really nasty bug. (_gtk_rbtree_debug_spew): new debug helper function (_fixup_validation): new inline function to clean up code readability a lot.
* Close comment.Owen Taylor2001-12-088-1/+36
| | | | | | Fri Dec 7 19:34:51 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtktoolbar.c (gtk_toolbar_insert_element): Close comment.
* Typo fixes.Matthias Clasen2001-12-0715-178/+320
| | | | | | | | | | | * gtk/gtkstyle.h: Typo fixes. * gtk/gtkstyle.c, gtk/gtktoolbar.c: Add docs. * gtk/gtkrc.c (gtk_rc_find_pixmap_in_path): Fix docs. * gtk/tmpl/gtktypeutils.sgml, gtk/tmpl/gtkobject.sgml, gtk/tmpl/gtkstyle.sgml: Add docs.
* Display the XIM status callbacks with a popup window. (Patch fromOwen Taylor2001-12-079-7/+237
| | | | | | | | Fri Dec 7 16:05:22 2001 Owen Taylor <otaylor@redhat.com> * modules/input/gtkimcontextxim.c: Display the XIM status callbacks with a popup window. (Patch from HideToshi Tajima, #50628, somewhat modified.)
* each source generation rule needs to use its own temporary file, to avoidTim Janik2001-12-078-9/+51
| | | | | | | | Fri Dec 7 12:07:15 2001 Tim Janik <timj@gtk.org> * gtk/Makefile.am: each source generation rule needs to use its own temporary file, to avoid clashes for parallel builds. fixed rules for gtkmarshalers.h and gtkmarshalers.c to use their own temp files.