1. 10 Dec, 2002 1 commit
  2. 28 Nov, 2002 1 commit
  3. 09 Oct, 2002 1 commit
    • Manish Singh's avatar
      Deprecation cleanup · 8b6ce081
      Manish Singh authored
      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
      8b6ce081
  4. 01 Oct, 2002 1 commit
    • jacob berkman's avatar
      declare parent_class static · 55c44271
      jacob berkman authored
      2002-10-01  jacob berkman  <jacob@ximian.com>
      
      	* gtk/gtkinvisible.c:
      	* gtk/gtkclipboard.c: declare parent_class static
      55c44271
  5. 25 Sep, 2002 1 commit
  6. 24 Sep, 2002 1 commit
  7. 20 Jun, 2002 1 commit
    • Owen Taylor's avatar
      Renames: · 28c2b0a3
      Owen Taylor authored
      Thu Jun 20 19:41:09 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkdisplay.h gdk/gdkscreen.h gdk/**.c gtk/*.c
              tests/*.c: Renames:
      
               gdk_get_default_display => gdk_display_get_default
               gdk_get_default_screen  => gdk_screen_get_default
               gdk_open_display        => gdk_display_open
      28c2b0a3
  8. 15 May, 2002 1 commit
  9. 29 Apr, 2002 1 commit
    • Alexander Larsson's avatar
      Integrate Erwann Chenede's multihead changes for the gtk/ directory. · 4632fb81
      Alexander Larsson authored
      Mon Apr 29 18:28:00 2002  Owen Taylor  <otaylor@redhat.com>
      
      	Integrate Erwann Chenede's multihead changes for the gtk/ directory.
      
      	* gtk/gtkclipboard.[ch]: Add gtk_clipboard_get_for_display(),
      	make internals multihead aware.
      
      	* gtk/gtkcolorsel.[ch]: Add
      	gtk_color_selection_set_change_palette_with_screen_hook () [ugh!]
      	make up for non-multihead safety of
      	gtk_color_selection_set_change_palette_hook()
      
      	* gtk/gtkinvisible.[ch] gtk/gtkmenu.[ch] gtkwindow.[ch]: Add
      	gtk_{invisible,menu,window}_set_screen(); add "screen" properties
      	for GtkWindow and GtkMenu.
      
      	* gtk/gtkplug.[ch]: Add gtk_plug_construct_for_display(),
      	gtk_plug_new_for_display(). Multihead fixes.
      
      	* gtk/gtkselection.[ch]: Add gtk_selection_owner_set_for_display(),
      	make internals multihead aware.
      
      	* gtk/gtksettings.[ch]: Add gtk_settings_get_for_screen(), get
      	rid of now-useless gtk_settings_constructor().
      
      	* gtk/gtkstyle.[ch]: Add gtk_style_get_font_for_display(), fix
      	check/radio button indicators bitmap handling to be multihead
      	safe.
      
      	* gtk/gtkwidget.[ch]: Add gtk_widget_get_screen(), gtk_widget_has_screen(),
      	gtk_widget_get_display(), gtk_widget_get_clipboard(),
      	gtk_widget_get_root_window().
      
      	* gtk/gtkbindings.c gtk/gtkbutton.c gtk/gtkclist.c gtk/gtkcombo.c
      	gtk/gtkctree.c gtk/gtkdnd.c gtk/gtkfilesel.c gtk/gtkgamma.c
      	gtk/gtkhandlebox.c gtk/gtkhsv.c gtk/gtkimcontext.c gtk/gtklabel.c
      	gtk/gtklist.c gtk/gtkmain.c gtk/gtkmenuitem.c gtk/gtkmenushell.c
      	gtk/gtknotebook.c gtk/gtkoldeditable.c gtk/gtkoptionmenu.c
      	gtk/gtkpaned.c gtk/gtkpreview.c gtk/gtksocket.c gtk/gtktext.c
      	gtk/gtktextbuffer.c gtk/gtktextview.c gtk/gtktipsquery.c
      	gtk/gtktooltips.c gtk/gtktreeview.c gtk/gtktreeviewcolumn.c:
      	misc mechanical multihead-safety fixes.
      
      	* gtk/gtkclipboard.c: Use a GtkImage rather than a pixmap for
      	the dropper, look up the color palette only at realization time,
      	other multihead fixes.
      
      	* gtk/gtkcombo.c (gtk_combo_unrealize): Popdown the list when
      	unrealizing.
      
      	* gtk/gtkentry.c: Only claim ownership of the primary selection
      	when realized, misc multihead fixes.
      
      	* gtk/gtkfontsel.c: Only fill in fonts when attached to a screen,
      	fix gtk_font_selection_get_font() for multihead.
      
      	* gtk/gtkgc.c: make the depth => drawable hash per-screen.
      
      	* gtk/gtkinvisible.c: Add a constructor that realizes the
      	widget, so we get a realized widget with g_object_new() as
      	well gtk_invisible_new() as before.
      
      	* gtk/gtkmain.c: Get rid of unused gtk_visual/gtk_colormap
      	variables.
      
      	* gtk/gtktextdisplay.c: Add warnings if stipple bitmaps
      	are used on the wrong screen.
      
      	* gtk/gtktoolbar.c: Make handling of GtkSettings-based layout
      	read properties and connect to settings when the screen is changed,
      	rather than on init/finalize.
      
      	* gtk/gtkwindow.c: Fix icon handing to be multihead safe ...
      	default icon pixmaps/mask are only shared between windows on the
      	same screen. Misc multihead fixes.
      
      Sat Apr 27 13:49:53 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkclipboard.c (gtk_clipboard_get_for_display):
      	Update docs to reference GDK_SELECTION_CLIPBOARD rather GDK_NONE.
      
      2002-04-29  Alex Larsson  <alexl@redhat.com>
      
      	* gdk/linux-fb/gdkproperty-fb.c (gdk_property_get):
      	Fix silly bug, noticed by Sven Neumann.
      
      Sun Apr 28 22:43:55 2002  Jonathan Blandford  <jrb@gnome.org>
      
      	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_sort_func): Fix
      	so that you can set a new sort func.
      4632fb81
  10. 09 Jan, 2002 1 commit
    • Matthias Clasen's avatar
      Speak of window IDs rather than XIDs in the docs. · 4127a267
      Matthias Clasen authored
              * gtk/gtkplug.c, gtk/gtksocket.c: Speak of window IDs rather
              than XIDs in the docs.
      
              * gtk/gtkclipboard.c (gtk_clipboard_clear): Fix docs.
      
              * gtk/tmpl/gtksocket.sgml, gtk/tmpl/gtkplug.sgml: speak of
              window IDs rather than XIDs.
      4127a267
  11. 08 Jan, 2002 1 commit
    • Matthias Clasen's avatar
      Doc typo fix. (#68172) · c1808baa
      Matthias Clasen authored
              * gtk/gtksocket.c (gtk_socket_get_id): Doc typo fix. (#68172)
      
              * gtk/gtktreemodel.c (gtk_tree_path_is_descendant): Fix docs.
      
              * gtk/gtktreemodel.c (gtk_tree_model_rows_reordered): Document.
      
              * gtk/gtkwindow.c (gtk_window_remove_accel_group): Fix docs.
      
              * gtk/gtkrc.c (gtk_rc_get_style_by_paths),
              gtk/gtkwidget.c (gtk_widget_get_toplevel,
              gtk_widget_push_composite_child), gtk/gtkdialog.c
              (gtk_dialog_new_with_buttons, gtk_dialog_run): Keep gtk-doc
              from messing up the indentation of inline examples.
      
              * gtk/gtkmain.c, gtk/gtkrc.c: Consistently call g_getenv()
              instead of getenv().
      
              * gtk/gtktreemodel.c, gtk/gtkaccelgroup.c, gtk/gtkclipboard.c,
              gtk/gtkdnd.c, gtk/gtkiconfactory.c, gtk/gtkrc.c,
              gtk/gtkstyle.c, gtk/gtkselection.c: Doc fixes.
      
              * gtk/gtkaccelmap.c (gtk_accel_map_add_filter,
              gtk_accel_map_foreach_unfiltered, gtk_accel_map_load_scanner):
              Document.
      
              * gtk/tmpl/gtksocket.sgml: Mention gtk_socket_get_id()
              instead of GTK_WINDOW_XWINDOW().  (#68172)
      
              * gtk/gtk-sections.txt: Move functions which are documented
              as "private" or "internal" into Private subsections.
      
              * gtk/tmpl/gtkdnd.sgml, gtk/tmpl/gtkobject.sgml,
              gtk/tmpl/gtkrc.sgml, gtk/tmpl/gtktooltips.sgml,
              gtk/tmpl/gtkwidget.sgml, gtk/tmpl/gtkclipboard.sgml,
              gtk/tmpl/gtkstyle.sgml, gtk/tmpl/gtkselection.sgml,
              gtk/tmpl/gtkfeatures.sgml: Minor markup fixes.
      
              * gtk/tmpl/gtksignal.sgml: Add link to GLib signal docs.
      
              * gtk/tmpl/gtkpreview.sgml, gtk/tmpl/gtktext.sgml,
              gtk/tmpl/gtktree.sgml: Remove "deprecated" from short desc.
      
              * gtk/tmpl/gtkrc.sgml: Correct names of default RC files.
      c1808baa
  12. 01 Jan, 2002 1 commit
    • Havoc Pennington's avatar
      move README.linux-fb in here · e7153de0
      Havoc Pennington authored
      2002-01-01  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/framebuffer.sgml: move README.linux-fb in here
      
      	* gtk/tmpl/gtkpreview.sgml: explain what to use instead
      
      	* gtk/tmpl/gtkseparator.sgml: typo fix
      
      	* gtk/tmpl/gtkstock.sgml: add some overview docs
      
      	* gtk/Makefile.am (content_files): add new files
      
      	* gtk/changes-1.2.sgml: move Changes-1.2.txt in here
      
      	* gtk/changes-2.0.sgml: move Changes-2.0.txt in here
      
      	* gdk/tmpl/threads.sgml: mention gdk_threads_init() in the
      	overview docs, copy in the examples from the FAQ
      
      	* gtk/gtk-docs.sgml: change DTD to 3.1, and add
      	question_index.sgml and changes-1.2, changes-2.0
      
      	* gtk/tmpl/gtkdrawingarea.sgml: fixups to reflect 2.0 changes
      
      	* gtk/question_index.sgml: new section with question-based
      	index of the manual
      
      	* gtk/text_widget.sgml: fix some cross-references
      
      2002-01-01  Havoc Pennington  <hp@pobox.com>
      
      	* docs/README.linux-fb: note that this file is obsolete
      
      	* docs/Changes-2.0.txt, docs/Changes-1.2.txt: Add notes to these
      	files that they should not be edited and look in the reference
      	manual instead. Probably these files should just be replaced by
      	the note, and their main contents deleted.
      
      	* gtk/gtktextview.c: docs
      
      	* gtk/gtktextmark.c: docs
      
      	* gtk/gtktextchild.c: docs
      
      	* gtk/gtktextbuffer.c: docs stuff
      
      	* gtk/gtkclipboard.c (gtk_clipboard_get): fool with docs to maybe
      	give people more leads in sorting out PRIMARY vs. CLIPBOARD
      e7153de0
  13. 08 Dec, 2001 1 commit
    • Matthias Clasen's avatar
      Doc markup fix. · 63b4e379
      Matthias Clasen authored
              * 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)
      63b4e379
  14. 31 Oct, 2001 1 commit
    • Owen Taylor's avatar
      Add a "menu" property and notify on it. (#62798, Padraig O'Briain) · 2145a4ef
      Owen Taylor authored
      Wed Oct 31 18:23:47 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkoptionmenu.c (gtk_option_menu_detacher):
      	Add a "menu" property and notify on it. (#62798,
      	Padraig O'Briain)
      
      	* gtk/gtkselection.[ch] gtk/{gtkentry.c, gtkfilesel.c,
      	gtkoldeditable.c, gtktextbuffer.c, gtktextview.c}:
      	Fix set_text to take a gchar, not a guchar, and to have
      	a len argument.
      2145a4ef
  15. 22 Oct, 2001 1 commit
    • Owen Taylor's avatar
      Fixing popup menus to have "Paste" sensitized correctly. Original patches · 92d2dc0b
      Owen Taylor authored
      Mon Oct 22 16:25:12 2001  Owen Taylor  <otaylor@redhat.com>
      
      	Fixing popup menus to have "Paste" sensitized correctly. Original
      	patches from Damian Ivereigh, much mangled.
      
      	* gtk/gtkselection.c: Add functions gtk_selection_data_get_targets(),
      	gtk_selection_data_targets_include_text(). (#60854)
      
      	* gtk/gtkclipboard.c: Add a simple do-it-all non-async "check if
      	the clipboard has text" function gtk_clipboard_wait_is_text_available.
      	(#60854)
      
      	* gtk/gtkentry.c: Only enable the paste item if the clipboard
      	contains text. (#60973)
      
      	* gtk/gtktextview.c: Only enable the paste item if the clipboard
      	contains text. (#60975)
      92d2dc0b
  16. 17 Oct, 2001 1 commit
    • Matthias Clasen's avatar
      Documentation updates. Updates. · a8fb1cf1
      Matthias Clasen authored
              * gtk/gtkdnd.c, gtk/gtkclipboard.c, gdk/x11/gdkmain-x11.c: Documentation updates.
              * gtk/tmpl/gtkdnd.sgml, gtk/tmpl/gtkclipboard.sgml,
              gdk/tmpl/general.sgml, gdk/tmpl/threads.sgml,
              gdk/tmpl/x_interaction.sgml: Updates.
      a8fb1cf1
  17. 08 Aug, 2001 1 commit
  18. 18 Jul, 2001 1 commit
    • Owen Taylor's avatar
      Fix idles and timeouts to be properly surrounded by · b613a74c
      Owen Taylor authored
      Wed Jul 18 18:23:05 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkbutton.c gtk/gtkentry.c gtk/gtkmenu.c gtk/gtktextview.c
      	gtktreeview.c: Fix idles and timeouts to be properly surrounded by
      	GDK_THREADS_ENTER()/LEAVE() pairs.
      
      	* gtk/gtkdialog.c gtk/gtkclipboard.c: Surround calls
      	to g_main_loop_run() with GDK_THREADS_LEAVE()/ENTER()
      	pairs. (Problem found by M. Meeks)
      b613a74c
  19. 26 Oct, 2000 1 commit
    • Havoc Pennington's avatar
      fix constness warning · 36059302
      Havoc Pennington authored
      2000-10-26  Havoc Pennington  <hp@redhat.com>
      
              * gtk/gtktextiter.c (my_strrstr): fix constness warning
      
              Fixed output of:
              nm -g -l .libs/libgtk-x11-1.3.so | grep ' T ' | grep -v gtk_ | grep -v GTK_
      
              * gtk/gtktextsegment.c (char_segment_new): rename
              (_char_segment_new_from_two_strings): rename
              (_toggle_segment_new): rename
      
              * gtk/gtkclipboard.c (ensure_clipboard_widget): make this static
              (make_clipboard_widget): make it static
              (text_get_func): static
              (text_clear_func): static
      
              * gtk/gtkcolorsel.c (adjustment_changed): make this function
              static
              (hex_changed): make it static
              (hsv_changed): make it static
              (opacity_entry_changed): make it static
      
              * gtk/gtktextbtree.c (change_node_toggle_count): rename with _gtk
              (toggle_segment_check_func): rename with _gtk
      
              * gtk/gtktextchild.c (_pixbuf_segment_new): rename with _gtk
              (_widget_segment_new): rename
              (_widget_segment_add): rename
              (_widget_segment_remove): rename
              (_widget_segment_ref): rename
              (_widget_segment_unref): rename
      
              * gtk/gtktextmark.c (_mark_segment_new): Rename
              _gtk_mark_segment_new
      36059302
  20. 03 Oct, 2000 1 commit
    • Tor Lillqvist's avatar
      Guard definition of alloca(). glib.h now handles that. · 69ac9451
      Tor Lillqvist authored
      2000-10-03  Tor Lillqvist  <tml@iki.fi>
      
      	* config.h.win32: Guard definition of alloca(). glib.h now handles
      	that.
      
      	* gdk/gdk.def
      	* gtk/gtk.def: Add new entry points.
      
      	Changes just to make GTK+ build without errors on Win32. No hope
      	of it working in its current state, though...:
      
      	* gdk/win32/gdkselection-win32.c: Remove gcc -Wall warnings.  Add
      	some functions from the X11 backend, just to make GTK+ build.
      
      	* gdk/makefile.mingw.in
      	* gtk/makefile.mingw.in: Use correct gdk_pixbuf version
      	number. Add new object files.
      
      	* gtk/gtkclipboard.c: Include gdkwin32.h on Win32. Use
      	GetMessageTime to get timestamp (where on X11 uses
      	gdk_x11_get_server_time()).
      69ac9451
  21. 14 Sep, 2000 1 commit
    • Owen Taylor's avatar
      Remove g_convert (moved to glib) and now useless utf_to_latin1() · 39339f14
      Owen Taylor authored
      Thu Sep 14 12:21:12 2000  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtktexttypes.[ch]: Remove g_convert (moved to
      	glib) and now useless utf_to_latin1() latin1_to_utf()
      
      	* gtk/gtktextview.[ch]: Change ::move_insert and
      	::delete_text action signals to ::move and ::delete;
      	create the signals with the right enumeration type,
      	not GTK_TYPE_ENUM so that bindings work. Add C-d, M-d,
      	C-v bindings, change Home, End to move to beginning/end
      	of line, Add C-Home C-End to move to beginning/end
      	of buffer. Change ::cut_text to ::cut_clipboard, etc;
      	combine ::scroll_text into ::move; use new GtkSelectionData
      	functions to simplify DND text handling.
      
      	* gtk/gtkenums.h gtk/gtktextview.h: Move movement,
      	deletion enumerations here, rename enumeration values to
      	be consistently plural.
      
      	* gtk/gtktextbuffer.c: Use new clipboard interfaces
      	for cut/copy/paste and primary selection.
      
      	* gtk/gtktextbuffer.[ch]: Remove excess time and
      	'interactive' arguments from cut/copy/paste;
      	rename cut to cut_clipboard, etc; remove
      	gtk_text_buffer_get_clipboard_contents().
      
      	* gtk/gtktextlayout.[ch]: Add
      	gtk_text_layout_move_iter_to_line_end() to move	the iter to
      	line ends.
      
      	* gtk/gtkselection.[ch] (gtk_selection_data_set/get_text):
      	Functions to set or get a UTF-8 string on the selection
      	data.
      
      	* gtk/gtkclipboard.[ch]: New, simplified selection handling
      	interfaces.
      
      	* gtk/gtkinvisible.c (gtk_invisible_new): Realize newly
      	created widgets - one of these is useless if we don't.
      
      	* gtk/gtkselection.[ch] (gtk_selection_clear_targets): Export
      	a public function clear all targets registered for the
      	widget.
      
      	* gtk/gtkselection.c (gtk_selection_owner_set) docs/Changes-2.0.txt:
      	Never call gtk_widget_realize() - that was just asking
      	for bizarre side-effects.
      
      	* gtk/gtkselection.c (gtk_selection_owner_set): Call
      	gdk_selection_owner_set even if the widget is the
      	same so that we reliably update the timestamp on
      	the server.
      
      	* gdk/x11/gdkevents-x11.c gdk/x11/gdkx.h: Add a
      	gdk_x11_get_server_time() function.
      
      	* gdk/x11/gdkevents-x11.c gdk/x11/gdkprivate-x11.h
      	gdk/x11/gdkselection-x11.c gdk/x11/gdkwindow-x11.h:
      	Add some tricky filtering on serial numbers for
      	selection clear events to fix up long-standard
      	race condition FIXME's in gtkselection.c.
      
      	* gdk/gdkproperty.h gdk/x11/gdkselection-x11.h: Add
      	routines to convert from utf8 to compound text or
      	STRING and from a text property to UTF-8.
      
      	* gtk/gtkmain.[ch] (gtk_get_current_event_time): Add
      	a convenience function gdk_get_current_event_time().
      
      	* gtk/gtkselection.c (gtk_selection_data_copy/free): Copy
      	and free selection_data->data properly
      39339f14