1. 13 Mar, 2003 1 commit
    • Tor Lillqvist's avatar
      if a grab cursor is used, must copy the HCURSOR with CopyCursor(), as it · 1e072f62
      Tor Lillqvist authored
      2003-03-13  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/win32/gdkevents-win32.c (gdk_pointer_grab): if a grab cursor
      	is used, must copy the HCURSOR with CopyCursor(), as it is OK to
      	destroy the GdkCursor after calling gdk_pointer_grab(). Set the
      	cursor right away with SetCursor(), as we won't get any
      	WM_SETCURSOR messages while the mouse is captured.
      	(gdk_display_pointer_ungrab): Correspondingly, destroy the copy
      	with DestroyCursor() when no longer used. (#108114, Allin Cottrell)
      
      	* gdk/win32/gdkevents-win32.c (gdk_event_translate): On
      	WM_SYSCHAR, return FALSE from the window procedure to prevent the
      	DefWindowProc from being called. Otherwise Windows would beep,
      	thinking you are tring to access a (nonexistent) menu when you
      	press Alt-something. Don't do this for Alt-Space,
      	though. (#107454, Martyn Russell)
      
      	* gdk/win32/gdkcursor-win32.c: Minor spacing and debug print fixes.
      1e072f62
  2. 11 Mar, 2003 1 commit
  3. 09 Mar, 2003 1 commit
  4. 08 Mar, 2003 2 commits
    • Matthias Clasen's avatar
      Bug #107664 continued: · 3db24eb8
      Matthias Clasen authored
      2003-03-08  Matthias Clasen  <maclas@gmx.de>
      
      	Bug #107664 continued:
      
      	* gdk/x11/gdkinputprivate.h:
      	* gdk/x11/gdkinput-none.c (_gdk_input_window_none_event): Remove.
      	(_gdk_input_other_event): Return gboolean.
      	* gdk/x11/gdkinput-xfree.c (_gdk_input_window_none_event): Remove.
      	(_gdk_input_other_event): Return gboolean.
      	* gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event): Return gboolean.
      
      	* gdk/x11/gdkevents-x11.c (gdk_event_translate): Make return_val
      	gboolean, remove pointless call to _gdk_input_window_none_event.
      
      	* gdk/win32/gdkinput-win32.[hc] (_gdk_input_other_event): Return gboolean.
      	(_gdk_input_window_none_event): Remove.
      
      	* gtk/gtktextiter.c (_gtk_text_iter_get_indexable_segment):
      	(_gtk_text_iter_get_any_segment):
      	(_gtk_text_iter_get_segment_byte):
      	(_gtk_text_iter_get_segment_char):
      	(_gtk_text_iter_get_text_line):
      	(_gtk_text_iter_get_btree): Fix 0/NULL confusion.
      	* gdk/x11/gdkdnd-x11.c (motif_target_table_check): Return gint.
      	* gdk/win32/gdkfont-win32.c (gdk_font_equal):
      	* gdk/linux-fb/gdkwindow-fb.c (gdk_window_get_deskrelative_origin):
      	(gdk_window_get_origin):
      	* gdk/linux-fb/gdkcolor-fb.c (gdk_colors_alloc): Fix 0/FALSE confusion.
      3db24eb8
    • Matthias Clasen's avatar
      Trivial cleanups (bug #107664) · d03b2741
      Matthias Clasen authored
      d03b2741
  5. 06 Mar, 2003 2 commits
    • Matthias Clasen's avatar
      Return gboolean, not gint. (#107664, Morten Welinder) · 285a25da
      Matthias Clasen authored
      2003-03-06  Matthias Clasen  <maclas@gmx.de>
      
      	* gdk/gdkrgb.c (gdk_rgb_try_colormap): Return gboolean, not gint.
      	(#107664, Morten Welinder)
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_get_deskrelative_origin):
      	* gdk/x11/gdkfont-x11.c (gdk_font_equal):
      	* gdk/x11/gdkdnd-x11.c (gdk_drag_get_protocol_for_display):
      	Fix TRUE/1 and FALSE/0 confusion.  (#107664, Morten Welinder)
      
      	* io-gif.c (gif_read): Fix 0/FALSE confusion (#107664, Morten Welinder)
      285a25da
    • Matthias Clasen's avatar
      Fix NULL/FALSE confusion (#107648, Morten Welinder) · ce58806c
      Matthias Clasen authored
      2003-03-06  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtktextmark.c (gtk_text_mark_get_buffer):
      	* gtk/gtkeditable.c (gtk_editable_get_chars):
      	* gtk/gtkctree.c (gtk_ctree_find_node_ptr):
      	* demos/gtk-demo/main.c (demo_find_file): Fix NULL/FALSE confusion
      	(#107648, Morten Welinder)
      ce58806c
  6. 04 Mar, 2003 1 commit
  7. 03 Mar, 2003 2 commits
    • Jonathan Blandford's avatar
      add props · 557b99b7
      Jonathan Blandford authored
      557b99b7
    • Jonathan Blandford's avatar
      handle rtl code. · 0d93b643
      Jonathan Blandford authored
      Sun Mar  2 23:35:57 2003  Jonathan Blandford  <jrb@gnome.org>
      
      	* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size):
      	handle rtl code.
      
      	* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_get_size): ditto
      
      	* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): ditto
      
      	* gtk/gtktreeview.c: (invalidate_column),
      	(invalidate_last_column),
      	(gtk_tree_view_get_real_requested_width_from_column),
      	(gtk_tree_view_size_allocate_columns),
      	(gtk_tree_view_size_allocate), (gtk_tree_view_button_press),
      	(gtk_tree_view_button_release_drag_column),
      	(gtk_tree_view_update_current_reorder),
      	(gtk_tree_view_motion_drag_column), (gtk_tree_view_bin_expose),
      	(gtk_tree_view_key_press), (gtk_tree_view_header_focus),
      	(gtk_tree_view_get_background_xrange),
      	(gtk_tree_view_get_arrow_xrange),
      	(gtk_tree_view_is_expander_column),
      	(gtk_tree_view_set_column_drag_info),
      	(gtk_tree_view_move_cursor_left_right):
      	Add RTL support.
      
      	* gtk/gtktreeviewcolumn.h (struct _GtkTreeViewColumn): add an
      	expand flag.
      
      	* gtk/gtktreeviewcolumn.c:
      	(gtk_tree_view_column_class_init),
      	(gtk_tree_view_column_set_property),
      	(gtk_tree_view_column_get_property),
      	(gtk_tree_view_column_set_expand),
      	(gtk_tree_view_column_get_expand),
      	(gtk_tree_view_column_cell_process_action):
      	Add support for expand flag
      0d93b643
  8. 02 Mar, 2003 2 commits
  9. 28 Feb, 2003 2 commits
    • Matthias Clasen's avatar
      Replace uses of gtk_object_new by g_object_new. · 656db08e
      Matthias Clasen authored
      2003-03-01  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkscrolledwindow.c (gtk_scrolled_window_set_vadjustment):
      	(gtk_scrolled_window_set_hadjustment): Replace uses of
      	gtk_object_new by g_object_new.
      656db08e
    • Manish Singh's avatar
      demos/gtk-demo/main.c demos/gtk-demo/tree_store.c gdk/x11/gdkscreen-x11.c · dd74be94
      Manish Singh authored
      Thu Feb 27 17:44:24 2003  Manish Singh  <yosh@gimp.org>
      
              * demos/gtk-demo/main.c
              * demos/gtk-demo/tree_store.c
              * gdk/x11/gdkscreen-x11.c
              * gtk/gtkcellrenderertoggle.c
              * gtk/gtkcolorsel.c
              * gtk/gtkdnd.c
              * gtk/gtkeditable.c
              * gtk/gtkentry.c
              * gtk/gtkmenu.c
              * gtk/gtkmenubar.c
              * gtk/gtkmenuitem.c
              * gtk/gtkmenushell.c
              * gtk/gtkrc.c
              * gtk/gtksettings.c
              * gtk/gtkstyle.c
              * gtk/gtktextbuffer.c
              * gtk/gtktextview.c
              * gtk/gtktreeviewcolumn.c
              * tests/testgtk.c
              * tests/testtext.c
              * tests/testtreeedit.c
              * tests/testtreefocus.c
              * tests/testtreeview.c: remove unnecessary G_OBJECT() casts.
      dd74be94
  10. 26 Feb, 2003 1 commit
    • Jonathan Blandford's avatar
      account for RTL code. · b355dfea
      Jonathan Blandford authored
      Tue Feb 25 21:55:17 2003  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtkoptionmenu.c (gtk_option_menu_position): account for RTL
      	code.
      b355dfea
  11. 24 Feb, 2003 1 commit
    • Sven Neumann's avatar
      fixed documentation. · 3e1a690c
      Sven Neumann authored
      2003-02-24  Sven Neumann  <sven@gimp.org>
      
      	* gtk/gtkmain.c (gtk_get_default_language): fixed documentation.
      3e1a690c
  12. 21 Feb, 2003 1 commit
  13. 20 Feb, 2003 1 commit
    • Matthias Clasen's avatar
      Check if line_ancestor_parent is NULL. (#102711, Manuel Clos) · 452de5d6
      Matthias Clasen authored
      2003-02-20  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtktextbtree.c (_gtk_text_line_previous_could_contain_tag):
      	Check if line_ancestor_parent is NULL.  (#102711, Manuel Clos)
      
      	* gtk/gtktextview.c (gtk_text_view_scroll_to_iter):
      	(gtk_text_view_update_adjustments): Make sure cursor stays visible
      	during horizontal scrolling.  (#75270)
      452de5d6
  14. 19 Feb, 2003 2 commits
  15. 18 Feb, 2003 1 commit
  16. 17 Feb, 2003 1 commit
  17. 14 Feb, 2003 1 commit
    • Matthias Clasen's avatar
      Remove bogus casts. · 49ad2496
      Matthias Clasen authored
      2003-02-14  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtktextview.c (popup_targets_received): Remove bogus casts.
      49ad2496
  18. 12 Feb, 2003 1 commit
  19. 11 Feb, 2003 1 commit
    • Matthias Clasen's avatar
      Fix for #82734 and #78216: · 4b9e72c7
      Matthias Clasen authored
      2003-02-12  Matthias Clasen  <maclas@gmx.de>
      
      	Fix for #82734 and #78216:
      
      	* gtk/gtktextview.c (delete_cb):
      	(select_all_cb): New callbacks for context menu items.
      	(popup_targets_received): Add "Delete" and "Select All" to context
      	menu, mnemonics and title caps for all items.
      
      	* gtk/gtkentry.c (gtk_entry_delete_cb): New callback for "Delete"
      	context menu item.
      	(popup_targets_received): Add "Delete" to context menu, mnemonics
      	and title caps for all items.
      4b9e72c7
  20. 09 Feb, 2003 3 commits
  21. 07 Feb, 2003 1 commit
    • Tim Janik's avatar
      remove quark_user_data usage in gtk_object_{g|s}et_user_data(). fixes · 10d67ceb
      Tim Janik authored
      Fri Feb  7 04:49:46 2003  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkobject.c: remove quark_user_data usage in
              gtk_object_{g|s}et_user_data(). fixes get_user_data()
              returning NULL for user_data set through property interface.
      
              * gtk/gtkitemfactory.c (gtk_item_factory_create_item): don't put out
              warnings if a pixbuf couldn't be retrieved, since (a) this doesn't
              need to be a programming error (in case of loaded data), (b) it breaks
              with 2.0 behaviour where extra magic could be used to create empty
              images. don't attempt to retrieve pixbufs from NULL extra_data.
      10d67ceb
  22. 06 Feb, 2003 1 commit
  23. 05 Feb, 2003 1 commit
  24. 02 Feb, 2003 1 commit
  25. 01 Feb, 2003 4 commits
  26. 31 Jan, 2003 4 commits
    • Manish Singh's avatar
      declare gtk_selection_clear in GTK_COMPILATION too, for gtkwidget.c. · c71f8b39
      Manish Singh authored
      Thu Jan 30 17:16:05 2003  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtkselection.h: declare gtk_selection_clear in GTK_COMPILATION
              too, for gtkwidget.c. Remember people, when introducing new
              deprecations, make sure internal code isn't using it, or if so,
              reorganize appropriately like I've done in other places.
      
              * tests/testtext.c: don't use deprecated gtk_timeout_* stuff.
      c71f8b39
    • Matthias Clasen's avatar
      Deprecate. (#85683) · 9efb563c
      Matthias Clasen authored
      2003-01-31  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkselection.h:
      	* gtk/gtkselection.c (gtk_selection_clear): Deprecate.  (#85683)
      9efb563c
    • Matthias Clasen's avatar
      Deprecate. (#60582) · 46d15e32
      Matthias Clasen authored
      2003-01-31  Matthias Clasen  <maclas@gmx.de>
      
      	* gdk/gdkpixbuf.h:
      	* gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable):
      	(gdk_pixbuf_render_to_drawable_alpha): Deprecate.  (#60582)
      
      	* gtk/gtkcolorsel.h:
      	* gtk/gtkcolorsel.c (gtk_color_selection_set_change_palette_hook):
      	Deprecate.  (#98167)
      46d15e32
    • Matthias Clasen's avatar
      Deprecate gtk_paned_computed_position(). (#97077) · 2435e831
      Matthias Clasen authored
      2003-01-31  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkpaned.h: Deprecate gtk_paned_computed_position(). (#97077)
      
      	* gtk/gtkmain.h: Deprecate the gtk_timeout_*, gtk_idle_*
      	and gtk_input_* functions.  (#71596)
      
      	* gtk/gtkentry.c (gtk_entry_move_cursor):
      	* gtk/gtklabel.c (gtk_label_move_cursor): Handle
      	GTK_MOVEMENT_HORIZONTAL_PAGES in switches.
      
      	* gdk/gdk.h: Deprecate gdk_wcstombs() and gdk_mbstowcs().  (#79803)
      
      	* gtk/gtkitemfactory.h:
      	* gtk/gtkitemfactory.c (gtk_item_factory_add_foreign): Deprecate.
      	(#69244)
      
      	* gtk/tmpl/gtkmain.sgml: Deprecate the gtk_timeout_*, gtk_idle_*
      	and gtk_input_* functions.  (#71596)
      2435e831