1. 06 Mar, 2004 1 commit
  2. 20 Nov, 2002 1 commit
    • Manish Singh's avatar
      add -DGTK_DISABLE_DEPRECATED. #undef it at the top of gtktypebuiltins.c. · bc035915
      Manish Singh authored
      Tue Nov 19 17:05:51 2002 Manish Singh  <yosh@gimp.org>
      
      	* gtk/Makefile.am: add -DGTK_DISABLE_DEPRECATED. #undef it at the
      	top of gtktypebuiltins.c.
      
      	* gtk/gtkclist.c
      	* gtk/gtkcombo.c
      	* gtk/gtkctree.c
      	* gtk/gtklist.c
      	* gtk/gtklistitem.c
      	* gtk/gtkoldeditable.c
      	* gtk/gtkpixmap.c
      	* gtk/gtkpreview.c
      	* gtk/gtksignal.c
      	* gtk/gtktext.c
      	* gtk/gtktipsquery.c
      	* gtk/gtktree.c
      	* gtk/gtktreeitem.c
      	* gtk/gtktypeutils.c: #undef GTK_DISABLE_DEPRECATED, deprecated widgets
      	and compat code.
      
      	* gtk/gtkcolorsel.c: move gtk_color_selection_set_color implementation
      	to set_color_internal, and use that. The deprecated function now
      	merely wraps it.
      
      	* gtk/gtkfontsel.c: same as above, except with
      	gtk_font_selection_get_font.
      
      	* gtk/gtknotebook.c: same as above, except with
      	gtk_notebook_set_homogeneous, and gtk_notebook_set_tab_{border,
      	hborder,vborder}.
      
      	* gtk/gtkprogressbar.c: same as above, except with
      	gtk_progress_bar_set_{bar_stype,discrete_blocks,activity_step,
      	activity_blocks}.
      
      	* gtk/gtkstyle.c: same as above, except with gtk_style_get_font.
      
      	* gtk/gtkwidget.c: same as above, except with gtk_widget_set_usize.
      
      	* gtk/gtkitemfactory.h: declare compatibility functions for deprecated
      	GtkMenuFactory stuff if GTK_COMPILATION, since they are used
      	internally by the compat code.
      
      	* gtk/gtkitemfactory.c (gtk_item_factory_create_item): remove
      	use of deprecated gtk_check_menu_item_set_show_toggle (it is a noop
      	now).
      
      	* gtk/gtkmain.c: replaced deprecated GTK_TYPE_* with G_TYPE_*.
      
      	* gtk/gtkobject.c: replaced various deprecated functions. In set and
      	get_property, use g_object_{set,get}_data with "user_data" instead
      	of gtk_object_{set,get}_user_data.
      
      	* gtk/gtkprogress.h: API declared if GTK_COMPILATION
      
      	* gtk/gtkprogress.c: port get_type to GObject API.
      
      	* gtk/gtktypeutils.h: declare GtkArg stuff and gtk_type_init,
      	if GTK_COMPILATION.
      
      	* gtk/gtkwidget.c: define gtk_widget_queue_clear in terms of
      	gtk_widget_queue_draw instead of the other way around.
      
      	* tests/Makefile.am: define -DGTK_DISABLE_DEPRECATED
      
      	* tests/testgtk.c
      	* tests/testselection.c
      	* tests/testsocket.c: #undef GTK_DISABLE_DEPRECATED, makes use of
      	deprecated stuff.
      bc035915
  3. 13 Oct, 2002 1 commit
    • Manish Singh's avatar
      Deprecation cleanup · 37278865
      Manish Singh authored
      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
      37278865
  4. 04 Mar, 2002 1 commit
    • Matthias Clasen's avatar
      Make color selection and selection examples work. · 0b46f4ab
      Matthias Clasen authored
      
      	* docs/tutorial/gtk-tut.sgml: Make color selection and selection
      	examples work.
      
      	* tests/testselection.c (selection_toggled, selection_clear):
      	Use selection_widget as selection owner - otherwise clearing the
      	selection doesn't work.
      0b46f4ab
  5. 25 Feb, 2002 1 commit
    • Owen Taylor's avatar
      Convert over to using an GtkInvisible - selections don't work properly · 3ce82058
      Owen Taylor authored
      Sun Feb 24 23:23:28 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* tests/testselection.c (main): Convert over to using
      	an GtkInvisible - selections don't work properly
      	with now NO_WINDOW GtkToggleButton. (Example really
      	should be using GtkClipboard.)
      
      	* gdk/x11/gdkselection-x11.c (gdk_selection_property_get):
      	Fix  problems if sizeof(GdkAtom) != sizeof(Atom). (Unlikely)
      
      	* gdk/x11/gdkproperty-x11.c (gdk_property_get): Set
      	actual_length when converting atoms as well.
      	(Gregory Merchan, #72074)
      3ce82058
  6. 22 Oct, 2001 1 commit
    • Owen Taylor's avatar
      Fix problem with g_return_if_fail return value. · 46dde804
      Owen Taylor authored
      Sun Oct 21 23:27:00 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwidget.c (gtk_widget_translate_coordinates): Fix
      	problem with g_return_if_fail return value.
      
       	* gdk/x11/gdkproperty-x11.c docs/Changes-2.0.txt: Move over the
      	virtual atom code from the gdk-multihead branch, removing the per-display
      	part. Virtualizing atoms needs to be done now to prevent compat
      	breakage in direct Xlib accessing code in the future. (#62208)
      
       	* gdk/x11/gdkx.h: gdk/gdk/x11/gdkproperty-x11.c: Export
       	gdk_x11_xatom_to_atom, gdk_x11_atom_to_xatom().
      
      	* gdk/gdktypes.h docs/Changes-2.0.txt: Make GdkAtom
      	an opaque pointer type so the compiler catches attempts
      	to mingle it with X atoms.
      
      	* gdk/x11/{gdkdnd-x11.c,gdkevents-x11.c,gdkglobals-x11.c,
      	  gdkkeys-x11.c, gdkmain-x11.c, gdkprivate-x11.c,
      	  gdkproperty-x11.c, gdkselection-x11.c, gdkwindow-x11.c}
      	  gtk/{gtkclist.c,gtkctree.c,gtkdnd.c,gtkplug.c,gtksocket.c}
      	  tests/testdnd.c,tests/testselection.c:
      	Fix up for above atom changes.
      
      	* gdk/gdkselection.h (GDK_SELECTION_CLIPBOARD): Add, since we
      	now have the ability to add custom predefines.
      
      	* gtk/{gtkentry.c,gtklabel.c,gtkoldeditable.c,gtktextview.c}:
      	Use GDK_SELECTION_CLIPBOARD instead of GDK_NONE in calls
      	to gtk_clipboard_get().
      
      	* gdk/win32/gdkproperty-win32.c: Add CLIPBOARD, fix up
      	for GdkAtom => pointer change.
      
      	* gdk/linux-fb/gdkproperty-fb.c: Fix handling of predefined
      	atoms, fix for GdkAtom => pointer change.
      46dde804
  7. 07 Jun, 2001 1 commit
    • Jonathan Blandford's avatar
      Now it's a GObject instead of a GtkObject. The · 59444d85
      Jonathan Blandford authored
      Thu Jun  7 18:25:42 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeselection.c: Now it's a GObject instead of a
      	GtkObject.  The GtkTreeSelection::selection_changed signal is now
      	the GtkTreeSelection::changed signal.
      
      	* gtk/gtktreeview.c: Modified to deal with new GtkTreeSelection
      	object.
      
      	* tests/gtktree*.c: Modified to deal with new GtkTreeSelection
      	object.
      59444d85
  8. 03 Apr, 2001 1 commit
    • Owen Taylor's avatar
      Updated. · af5c897e
      Owen Taylor authored
      Tue Apr  3 13:55:37 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* NEWS: Updated.
      
      	* configure.in: Remove support for uninstalled glib.
      
      	* gtk/gtkdnd.c (gtk_drag_highlight_expose): Return FALSE as
      	so as not to stop emission.
      
      	* gtk-config-2.0.in: Exit with an error message that gtk-config-2.0
      	is no longer supported.
      
      	* Makefile.am gtk/Makefile.am tests/*: Moved all tests
      	into tests, change build order to build modules before
      	gtk/.
      
      	* modules/input/Makefile.am: Move gtk-query-immodules-2.0 invocation
      	to here.
      af5c897e
  9. 31 Jan, 2001 1 commit
    • Havoc Pennington's avatar
      bracket in #ifdef GTK_ENABLE_BROKEN. · f7d593c9
      Havoc Pennington authored
      2001-01-30  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtktreeitem.h, gtk/gtktree.h, gtk/gtktext.h: bracket in
      	#ifdef GTK_ENABLE_BROKEN.
      
      	* gtk/gtktreeitem.c, gtk/gtktree.c, gtk/gtktext.c: #define
      	GTK_ENABLE_BROKEN just before including the broken headers.
      
      	* gtk/gtktypeutils.c: #define GTK_ENABLE_BROKEN, so we can get the
      	deprecated types registered.
      
      	* gtk/testgtk.c, gtk/testselection.c: #define GTK_ENABLE_BROKEN,
      	we have to test the broken stuff.
      
              * docs/Changes-2.0.txt: explain GTK_ENABLE_BROKEN
      
      2001-01-30  Havoc Pennington  <hp@pobox.com>
      
              Also committed a bunch of automatic changes made by gtk-doc,
      	after reviewing for correctness.
      
      	* gtk/tmpl/gtktext.sgml: add warning about deprecation and note
      	about what to use instead
      
      	* gtk/tmpl/gtktree.sgml: ditto
      
      	* gtk/Makefile.am (scan): pass --deprecated-guards option to
      	gtk-doc; requires new version of gtk-doc from CVS
      
      	* gtk/gtk-docs.sgml: move GtkText to the deprecated section
      	instead of the GtkTextView section. Oops.
      f7d593c9
  10. 26 Jul, 2000 1 commit
  11. 24 Feb, 1999 1 commit
  12. 11 Jan, 1999 1 commit
    • Tim Janik's avatar
      eliminated some queue_draws when invoking gtk_widget_set_state, since that · d2e69a89
      Tim Janik authored
      Mon Jan 11 15:23:32 1999  Tim Janik  <timj@gtk.org>
      
              * gtk/gtktogglebutton.c: eliminated some queue_draws when invoking
              gtk_widget_set_state, since that cares about redrawing already.
              some code cleanups.
      
              * gtk/gtktogglebutton.[hc]:
              * gtk/gtkfontsel.c:
              * gtkgamma.c:
              s/gtk_toggle_button_set_state/gtk_toggle_button_set_active/ since
              set_state is already taken by gtkwidget.h.
      
              * gtk/gtkcompat.h: #define gtk_toggle_button_set_state
              gtk_toggle_button_set_active.
      
              * gtk/gtkstyle.c: some indentation cleanups.
      d2e69a89
  13. 09 Dec, 1998 1 commit
    • Owen Taylor's avatar
      Add in missing 'flags' field to target list. · dfa88ef9
      Owen Taylor authored
      Wed Dec  9 12:23:30 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/testselection.c (main): Add in missing 'flags'
      	field to target list.
      
      	* gdk/gdkproperty.c (gdk_atom_intern): Actually
      	add the atoms to the local cache.
      dfa88ef9
  14. 28 Nov, 1998 1 commit
    • Tim Janik's avatar
      changed scrolled window inheritance, it inherits from GtkBin now. · 238ede33
      Tim Janik authored
      Sat Nov 28 03:13:42 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkscrolledwindow.h:
              * gtk/gtkscrolledwindow.c: changed scrolled window inheritance,
              it inherits from GtkBin now.
      
              * gtk/gtkbin.c (gtk_bin_unmap): removed superfluous check for
              visibility of child.
              (gtk_bin_draw): removed superfluous check for GTK_WIDGET_DRAWABLE().
              added check so a child gets only drawn if it's visible.
      
              * gtk/gtkwidget.h:
              * gtk/gtkwidget.c: removed gtk_widget_draw_children().
      
              * gtk/gtkstyle.h:
              * gtk/gtkstyle.c: rmoved gtk_reset_widget_shapes.
      
              * gtk/gtkwidget.h:
              * gtk/gtkwidget.c: removed crufty relict: gtk_widget_is_child().
              added internal function gtk_widget_reset_shapes() from gtkstyle.c.
      
              * gtk/gtkrc.h:
              * gtk/gtkrc.c: (gtk_rc_find_pixmap_in_path): removed bogus gscanner
              argument, changed callers.
      
              * gtk/gtkmenufactory.c: GtkMenuFactory is deprecated for a long time,
              it will issue a warning now.
      
              * gtk/gtkcompat.h: new file to #define aliases for historic
              function names.
      
              * changed 8 function names for consistency and provided aliases to keep
              source compatibility in gtkcompat.h:
              (gtk_accel_label_get_accel_width): renamed from gtk_accel_label_accelerator_width
              (gtk_container_set_border_width): renamed from gtk_container_border_width
              (gtk_notebook_get_current_page): renamed from gtk_notebook_current_page
              (gtk_packer_configure): renamed from gtk_packer_set_child_packing
              (gtk_paned_set_gutter_size): renamed from gtk_paned_gutter_size
              (gtk_paned_set_handle_size): renamed from gtk_paned_handle_size
              (gtk_scale_get_value_width): renamed from gtk_scale_value_width
              (gtk_window_set_position): renamed from gtk_window_position
      
              * renamed a few recently added funtions for consistency:
              (gtk_notebook_get_tab_label): renamed from gtk_notebook_query_tab_label.
              (gtk_notebook_get_menu_label): renamed from gtk_notebook_query_menu_label.
              (gtk_progress_configure): renamed from gtk_progress_reconfigure.
      238ede33
  15. 18 Oct, 1998 1 commit
    • Owen Taylor's avatar
      Added a modular client-message-filter mechanism, that is used for the DND · f7bcb456
      Owen Taylor authored
      Sun Oct 18 18:16:39 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* gdk/gdk.c gdkprivate.h: Added a modular client-message-filter
      	mechanism, that is used for the DND messages.
      
      	  Removed all the old DND code.
      
      	* gdk/gdkcolormap.c gdk/gdkcolormap.h: Add a function to
      	get the visual of a given colormap.
      
      	* gtk/gtkcolorsel.c: Conversion to new DND, drag
      	a color-swatch.
      
      	* gdk/gdk.h gdk/gdkdnd.c: The low-level
      	X oriented portions of drag and drop protocols.
      	Sending and receiving client messages, and navigating
      	window trees.
      
      	* gdk/gdkimage.c: added a gdk_flush() when destroying
      	SHM images to hopefully make it more likely that
              X will gracefully handle the segment being destroyed.
      
      	* gdk/gdkprivate.h gtk/gtkdebug.h: Add new
      	DND debugging flags.
      
      	* gtk/gtkeditable.[ch]: Updates for the selection handling
      	changes.
      
      	* gtk/gtkselection.[ch]: Added GtkTargetList, a
      	refcounted data structure for keeping track of lists
      	of GdkAtom + information. Removed selection_handler_add
      	in favor of a "drag_data_get" signal.
      
      	* gtk/gtkdnd.[ch] gtk/gtk.h: New files - highlevel (event loop
      	dependent) parts of the DND protocols, display of drag icons,
      	drag-under highlighting, and the "default handlers".
      
      	* gtk/gtkinvisible.[ch]: New widget - InputOnly offscreen
      	windows that are used for reliable pointer grabs and
      	selection handling in the DND code.
      
      	* gtk/testdnd.c: New test program for new DND. (Old
      	DND tests in testgtk still need to be converted.)
      
      	* gtk/testselection.c: Use the new selection API.
      
      	* docs/dnd_internals: Start at describing how
      	all the new code works inside.
      
      	* docs/Changes-1.2.txt: New file describing source-incompatible
      	changes in GTK+-1.2.
      
      Sat Oct 17 22:50:34 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* gdk/gdkwindow.c (gdk_window_remove_filter): Free
      	the right list node.
      
      	* gdk/gdkwindow.c (gdk_window_init): Add gdk_root_parent
      	to the XID table so we can receive events on it.
      
      Wed Oct 14 12:57:40 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdk.c gdk/gdk.h (gdk_event_get_time): New function
      	to get the timestamp from a generic event.
      
      Fri Oct  9 13:16:04 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwidget.c (gtk_widget_add_events): Added function
      	that safely adds additional events to a widget's event
      	mask, even if the widget has previously been realized.
      	(We can do this, but not remove events from the event
      	 mask).
      
      Fri Oct  2 17:35:35 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdkproperty.c (gdk_property_get): Allow type == 0,
      	for AnyPropertyType.
      
      Fri Oct  2 10:32:21 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdkproperty.c (gdk_atom_intern): Add client-local
      	hashing.
      
      Thu Sep 24 20:33:54 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdk.c (gdk_event_send_clientmessage_toall): serial
      	isn't a timestamp.
      
      Thu Sep 17 14:23:03 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdk.c (gdk_event_translate): Removed printing
      	of unknown window lookup warnings. (Made it
      	a GDK_NOTE) - they happen in many circumstances.
      f7bcb456
  16. 09 Jun, 1998 1 commit
  17. 03 May, 1998 1 commit
    • Owen Taylor's avatar
      configure.in acheader.h gdk/gdkwindow.c Check for Shape extension both on · 4851efe2
      Owen Taylor authored
      Sun May  3 13:38:22 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* configure.in acheader.h gdk/gdkwindow.c
      	Check for Shape extension both on the client and server
      	side. (And, more importantly, check for the shape extension
      	so we may include -lXext even when compiling with --disable-xshm)
      
      	Don't set override_redirect on all shaped windows. It isn't
      	necessary.
      
      	* gdk/gdkwindow.c: Set ->colormap to NULL for root
      	and foreign windows. Use this to check if we
      	need to get the colormap from X.
      
      Fri May  1 22:32:47 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* gtk/gtkbutton.c (gtk_button_paint): Draw the areas
      	between the default and the button always in GTK_STATE_NORMAL.
      
      	* gtk/gtkrange.c (gtk_range_style_set): Added a style_set
      	callback.
      
      Fri May  1 16:40:57 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* gdk/gdkpixmap.c (gdk_pixmap_colormap_create_from_xpmp[_d]):
      	  Fix a buffer overflow on pixmaps that claim to have
      	  more than 31 characters per pixel.
      
      	  (gdk_pixmap_read_string): Don't wrap around strings longer
       	  than half of address space ;-)
      
      	* gtk/gtk[vh]ruler.c gtk/gtkinputdialog.c: Expand some buffers
      	that were used for printing integers.
      
      	* */* (almost):
      
      	Style: All
      	  int foo () { ... }
      	changed to
      	  int foo (void) { ... }
      
      ^^^^^^^ This is why some many files changed
      
      	Even where there were proper prototypes elsewhere.
      
      	* gdk/gxid.c (handle_claim_device): Some extra checks.
      	It isn't safe against being fed bad X id's, but at
      	least it should be safe against deleting all your
      	files.
      4851efe2
  18. 13 Apr, 1998 1 commit
  19. 18 Mar, 1998 1 commit
    • Owen Taylor's avatar
      ( From: James Henstridge <james@daa.com.au> ) · f9739e83
      Owen Taylor authored
      Wed Mar 18 11:09:10 1998  Owen Taylor  <owt1@cornell.edu>
      	( From: James Henstridge <james@daa.com.au> )
      
      	* gtk/gtkclist.c: Don't remove, then destroy labels in
      	  gtk_clist_set_column_[*], just remove them.
      
      	* gtk/gtkmain.c (gtk_invoke_timeout_function): call
      	  marshal when appropriate, not function.
      
      Tue Mar 17 14:15:07 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/testgtk.c (create_main_window): Alphabetize tests
      
      	* gtk/gtk[hv]paned.c: Change division on resize if
      	  necessary to keep handle visible.
      
      	* gtk/gtkgamma.c gtk/gtkcurve.c: Moved initialization into
      	  _init() functions.
      
      	* gtk/gtkscrolledwindow.c: Added missing _construct()
      	  functions.
      f9739e83
  20. 13 Feb, 1998 1 commit
    • Owen Taylor's avatar
      gtk/gtksignal.[ch] gtk/gtkmain.[ch] gtk/gtkcontainer.[ch] · 888470ee
      Owen Taylor authored
      Thu Feb 12 23:59:49 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtksignal.[ch] gtk/gtkmain.[ch] gtk/gtkcontainer.[ch]
      	  gtk/gtkselection.[ch] gdk/gdk.[ch] gtktypeutils.h
      
       	  Replaced all _interp functions with _full functions.
      	  (_interp functions left in for compatibility until 0.99.5).
      	  Difference: _full functions take _both_ a C-language callback and a
      	  marshaller, and simply ignore the C-language callback
      	  if the marshaller is present. This allows the destroy notification
      	  to be used without marshalling.
      
      	  gtk_selection_add_handler[_full]() regularized to agree
      	  with other callbacks.
      
      	  Also, added gtk_input_add_full() to the header file.
      	  (gtk_input_add_interp() was never there)
      
      	* gtk/gtkmain.[ch] gtk/gtkwidget.c: Idle functions are now prioritized.
      	  Added new function gtk_idle_add_priority to create
      	  an idle with a specified priority (default is zero)
      	  constants #defined - GTK_PRIORITY_[HIGH/INTERNAL/DEFAULT/LOW]
      	  (redraws, resizes run at GTK_PRIORITY_INTERNAL)
      
      	* gtk/gtkentry.c gtk/testselection.c: changes to keep up with change
        	  to gtkselection.c.
      888470ee
  21. 03 Jan, 1998 1 commit
  22. 18 Dec, 1997 1 commit
  23. 08 Dec, 1997 1 commit
  24. 24 Nov, 1997 1 commit