1. 27 Feb, 2012 1 commit
  2. 28 Sep, 2011 1 commit
  3. 29 Mar, 2011 1 commit
  4. 21 Dec, 2010 1 commit
  5. 15 Dec, 2010 1 commit
  6. 10 Aug, 2010 1 commit
  7. 18 May, 2010 1 commit
  8. 04 Apr, 2010 1 commit
    • Christian Dywan's avatar
      Deprecate flag macros for toplevel, state, no window and composite child · fc2cbf96
      Christian Dywan authored
      Deprecate widget flag macros GTK_WIDGET_STATE, GTK_WIDGET_SAVED_STATE,
      GTK_WIDGET_FLAGS, GTK_WIDGET_TOPLEVEL, GTK_WIDGET_NO_WINDOW and
      GTK_WIDGET_COMPOSITE_CHILD.
      
      Also deprecate the type macros GTK_WIDGET_TYPE, GTK_OBJECT_TYPE_NAME and
      GTK_OBJECT_TYPE which have become redundant.
      
      Instances of GTK_WIDGET_TOPLEVEL are replaced with gtk_widget_is_toplevel,
      GTK_WIDGET_TYPE is replaced with G_OBJECT_TYPE, GTK_WIDGET_COMPOSITE_CHILD
      is replaced with use of the "composite-child" property and uses of
      GTK_WIDGET_NO_WINDOW are adjusted to use gtk_widget_get_has_window.
      
      Uses of GTK_WIDGET_SAVED_STATE and GTK_WIDGET_FLAGS inside GtkWidget are
      changed to direct flag usage.
      
      Documentation is updated to refer to gtk_widget_set_has_window and
      gtk_widget_get_has_window.
      
      Gail and tests are updated as well.
      
      Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=69872
      fc2cbf96
  9. 04 Jan, 2010 1 commit
    • Christian Dywan's avatar
      Deprecate flag macros for toplevel, state, no window and composite child · bb1824c1
      Christian Dywan authored
      Deprecate widget flag macros GTK_WIDGET_STATE, GTK_WIDGET_SAVED_STATE,
      GTK_WIDGET_FLAGS, GTK_WIDGET_TOPLEVEL, GTK_WIDGET_NO_WINDOW and
      GTK_WIDGET_COMPOSITE_CHILD.
      
      Also deprecate the type macros GTK_WIDGET_TYPE, GTK_OBJECT_TYPE_NAME and
      GTK_OBJECT_TYPE which have become redundant.
      
      Instances of GTK_WIDGET_TOPLEVEL are replaced with gtk_widget_is_toplevel,
      GTK_WIDGET_TYPE is replaced with G_OBJECT_TYPE, GTK_WIDGET_COMPOSITE_CHILD
      is replaced with use of the "composite-child" property and uses of
      GTK_WIDGET_NO_WINDOW are adjusted to use gtk_widget_get_has_window.
      
      Uses of GTK_WIDGET_SAVED_STATE and GTK_WIDGET_FLAGS inside GtkWidget are
      changed to direct flag usage.
      
      Documentation is updated to refer to gtk_widget_set_has_window and
      gtk_widget_get_has_window.
      
      Gail and tests are updated as well.
      
      Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=69872
      bb1824c1
  10. 13 Dec, 2008 1 commit
  11. 22 Jun, 2008 1 commit
    • Johan Dahlin's avatar
      Include "config.h" instead of <config.h> Command used: find -name · d97cdbdf
      Johan Dahlin authored
      2008-06-21  Johan Dahlin  <jdahlin@async.com.br>
      
          * *.[ch]: Include "config.h" instead of <config.h>
          Command used:
          find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g'
          Rubberstamped by Mitch and Tim
      
      
      svn path=/trunk/; revision=20669
      d97cdbdf
  12. 14 Jan, 2008 1 commit
  13. 22 Dec, 2006 1 commit
  14. 13 Jul, 2005 1 commit
  15. 28 Oct, 2004 1 commit
  16. 06 Mar, 2004 1 commit
  17. 02 Aug, 2003 1 commit
  18. 05 Jul, 2003 1 commit
    • Owen Taylor's avatar
      Lookup all the atoms in the target list at once. · ba999da1
      Owen Taylor authored
      Sat Jul  5 09:55:38 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/x11/gdkdnd-x11.c (precache_target_list): Lookup
              all the atoms in the target list at once.
      
              * gdk/x11/gdkdnd-x11.c (gdk_drag_get_protocol_for_display):
              Local drag short-circuit.
      
              * gdk/x11/gdkdnd-x11.c (gdk_drag_motion): For the
              local case, poke the actions in directly instead of
              going through xdnd_set_actions.
      
              * gdk/x11/gdkdnd-x11.c (xdnd_read_actions): Short-circuit
              the local case.
      
              * gdk/x11/gdkdnd-x11.c (xdnd_manage_source_filter): Don't
              XSelectInput()/add a filter if the drag is local.
      
              * gdk/x11/gdkdnd-x11.c (gdk_drag_get_selection):
              Simplify handling of "XdndSelection".
      
              * gdk/x11/gdkevents-x11.c (gdk_event_send_client_message_to_all_recurse): Somehow,
              a WM_STATE => _NET_WM_STATE change hand been made here.
      
              * gdk/x11/gdkproperty-x11.c (_gdk_x11_precache_atoms): Free
              xatom_names, not atom_names.
      
              * tests/testdnd.c (target_drag_motion): Make the trashcan
              open again. (Got lost in deprecation cleanup.)
      ba999da1
  19. 09 Jun, 2003 1 commit
    • Owen Taylor's avatar
      Use application/x-rootwindow-drop for root window drops. (#108670, Alex · 85d8c337
      Owen Taylor authored
      Sun Jun  8 22:03:09 2003  Owen Taylor  <otaylor@redhat.com>
      
              * tests/testdnd.c: Use application/x-rootwindow-drop for
              root window drops. (#108670, Alex Larsson)
      
              * gdk/x11/gdkdnd-x11.c (gdk_drag_motion) gtk/gtkdnd.c (gtk_drag_drop):
              Accept either application/x-rootwin-drop (what GTK+ has always used)
              or application/x-rootwindow-drop (what the XDND standard specifies).
      85d8c337
  20. 19 Feb, 2003 1 commit
  21. 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
  22. 04 Oct, 2002 1 commit
    • Owen Taylor's avatar
      Improve checks on public entry points, including, among other things · 47bed428
      Owen Taylor authored
      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.
      47bed428
  23. 03 Mar, 2002 1 commit
    • Owen Taylor's avatar
      Fixes for uninstalled operation with module suffixes other than .so and in · b47b15f6
      Owen Taylor authored
      Sat Mar  2 23:08:23 2002  Owen Taylor  <otaylor@redhat.com>
      
              Fixes for uninstalled operation with module suffixes
              other than .so and in general for platforms like AIX where
              the module suffix isn't predictable. (#72185, problems
              reported by Miroslaw Dobrzanski-Neumann)
      
              * modules/input/Makefile.am (gtk.immodules): Query .la
              files rather than shared objects in .libs when creating the
              uninstalled gtk.immodules file.
      
              * gtk/gtkmain.c (_gtk_find_module): Look for .la files
              after looking for the normal soname extension to handle
              cases where the soname extension isn't predictable,
              like AIX.
      
              * gtk/gtkthemes.c (gtk_theme_engine_load): Don't
              call g_module_build_path... leave that to
              gtk_rc_find_module_in_path.
      
              * demos/gtk-demo/main.c (main) demos/pixbuf-init.c (pixbuf_init):
              tests/testgtk.c (test_init): tests/testtext.c (test_init)
              tests/testdnd.c (test_init): Point gdk-pixbuf to .la
              files rather than poking in .libs for .so files.
      
              * gtk/stock-icons/Makefile.am (gtkstockpixbufs.h): Remove
              .libs from GDK_PIXBUF_MODULEDIR.
      b47b15f6
  24. 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
  25. 25 May, 2001 1 commit
    • Hans Breuer's avatar
      made fil mode GDK_STIPPLED actually work -> check boxes and radio buttons · b5db5d51
      Hans Breuer authored
      2001-05-25  Hans Breuer  <hans@breuer.org>
      
      	* gdk/win32/gdkgc-win32.c : made fil mode GDK_STIPPLED actually
      	work -> check boxes and radio buttons are drawn now, even on win9x.
      	Improved line settings a bit, still no clue how to get really dotted
      	lines on win9x, on NT it's PS_ALTERNATE.
      
      	* gdk/win32/gdkwindow-win32.c : use SafeAdjustWindowRect for
      	GDK_HINT_MIN_SIZE as well
      
      	* gdk/win32/makefile.am : added gdkkeys-win32.c to EXTRA_DIST
      
      	* gtk/gtk.def : updated
      
      	* gtk/gtktreeprivate.h : change column_drop_func to be a function
      	pointer not a function pointer pointer
      
      	* tests/testdnd.c : include <stdlib.h> for putenv prototype
      
      	* tests/testsocket.c : made it compile on win32 again
      
      	* tests/makefile.msc : one more test-app uses prop-editor.obj
      b5db5d51
  26. 25 Apr, 2001 1 commit
    • Owen Taylor's avatar
      Test for window == NULL in a number of cases. · 5dd0e3d6
      Owen Taylor authored
      Wed Apr 25 12:16:36 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/X11/gdkevents-x11.c (gdk_event_translate): Test for
      	window == NULL in a number of cases.
      
      	* tests/testdnd.c: Set module path for gdk-pixbuf.
      5dd0e3d6
  27. 15 Mar, 2001 1 commit
    • Jonathan Blandford's avatar
      Changed prototype to allow for getting the location of the cell relative · e4d16600
      Jonathan Blandford authored
      Thu Mar 15 18:22:44 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtkcellrenderer.h: Changed prototype to allow for getting
      	the location of the cell relative to its area.
      	* gtk/gtkcell*: modified for above change
      	* gtk/gtktreeview.c: modified for above change.
      
      Wed Mar 14 13:58:32 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_set_model): Ref the model.
      	 (gtk_tree_view_finalize): actually unref the model.  Thanks to
      	Jamie Strachan <frostfreek@yahoo.com> for noticing this error.
      e4d16600
  28. 12 May, 2000 1 commit
    • Tim Janik's avatar
      documented necessary changes for 1.4 transition. · 9595c551
      Tim Janik authored
      Fri May 12 17:13:32 2000  Tim Janik  <timj@gtk.org>
      
      	* docs/Changes-1.4.txt: documented necessary changes for 1.4 transition.
      
      	* gtk/gtktext.c: made the adjustments no-construct args, simply
      	provide default adjustments.
      	(gtk_text_destroy): release adjustments.
      
      	* gtk/gtkprogressbar.c (gtk_progress_bar_class_init): made the
      	adjustment argument non-construct.
      
      	* gtk/gtkprogress.c (gtk_progress_destroy): release adjustment here,
      	instead of in finalize.
      	(gtk_progress_get_text_from_value):
      	(gtk_progress_get_current_text):
      	(gtk_progress_set_value):
      	(gtk_progress_get_percentage_from_value):
      	(gtk_progress_get_current_percentage):
      	(gtk_progress_set_percentage):
      	(gtk_progress_configure): ensure an adjustment is present.
      
      Thu May 11 01:24:08 2000  Tim Janik  <timj@gtk.org>
      
      	* gtk/gtkcolorsel.[hc]:
      	* gtk/gtkcolorseldialog.[hc]:
      	* gtk/gtkhsv.[hc]: major code cleanups, destroy handlers need to chain
      	their parent implementation, use bit fields for boolean values, don't
      	create unused widgets, usage of glib types, braces go on their own
      	lines, function argument alignment, #include directives etc. etc. etc..
      
      	* gtk/Makefile.am (gtk_public_h_sources): install gtkhsv.h.
      
      Wed May 10 23:29:52 2000  Tim Janik  <timj@gtk.org>
      
      	* gtk/gtktoolbar.c (gtk_toolbar_destroy): don't unref a NULL tooltips.
      
      	* gtk/gtkfilesel.c (gtk_file_selection_destroy): don't free a cmpl_state
      	of NULL.
      
      	* gtk/gtkcombo.c (gtk_combo_item_destroy): don#t keep references
      	to freed data.
      	(gtk_combo_destroy): don't keep a pointer to a destroyed window.
      
      	* gtk/gtkmenu.c (gtk_menu_init): reset the menu's toplevel pointer
      	to NULL when the toplevel is getting destroyed.
      	(gtk_menu_set_tearoff_state): same here for the tearoff_window.
      	(gtk_menu_destroy):
      	(gtk_menu_init): store the information of whether we have to
      	readd the initial child ref_count during destruction in a new
      	GtkMenu field needs_destruction_ref_count.
      
      	* gtk/gtkviewport.c: SHAME! ok this one is tricky, so i note it
      	here, those reading: learn from my mistake! ;)
      	in order for set_?adjustment to support a default adjustemnt if
      	invoked with an adjustment pointer of NULL, the code read (pseudo):
      	if (v->adjustment) unref (v->adjustment);
      	if (!adjustment) adjustment = adjustment_new ();
      	if (v->adjustment != adjustment) v->adjustment = ref (adjustment);
      	now imagine the first unref to actually free the old adjustment and
      	adjustment_new() creating a new adjustment from the very same memory
      	portion. here, the latter comparision will unintendedly fail, and
      	all hell breaks loose.
      	(gtk_viewport_set_hadjustment):
      	(gtk_viewport_set_vadjustment): reset viewport->?adjustment to NULL
      	after unreferencing it.
      
      	* gtk/gtkcontainer.[hc]: removed toplevel registration
      	functions: gtk_container_register_toplevel(),
      	gtk_container_unregister_toplevel() and
      	gtk_container_get_toplevels() which had wrong semantics
      	anyways: it didn't reference and copy the list.
      
      	* gtk/gtkwindow.c: we take over the container toplevel registration
      	bussiness now. windows are registered across multiple destructions,
      	untill they are finalized. the initial implicit reference count
      	users are holding on windows is removed with the first destruction
      	though.
      	(gtk_window_init): ref & sink and set has_user_ref_count, got
      	rid of gtk_container_register_toplevel() call. add window to
      	toplevel_list.
      	(gtk_window_destroy): unref the window if has_user_ref_count
      	is still set, got rid of call to
      	gtk_container_unregister_toplevel().
      	(gtk_window_finalize): remove window from toplevel list.
      	(gtk_window_list_toplevels): new function to return a newly
      	created list with referenced toplevels.
      	(gtk_window_read_rcfiles): use gtk_window_list_toplevels().
      
      	* gtk/gtkhscale.c (gtk_hscale_class_init): made the GtkRange
      	adjustment a non-construct arg.
      	* gtk/gtkvscale.c (gtk_vscale_class_init): likewise.
      	* gtk/gtkhscrollbar.c (gtk_vscrollbar_class_init): likewise.
      	* gtk/gtkvscrollbar.c (gtk_vscrollbar_class_init): likewise.
      
      	* gtk/gtkrange.c: added some realized checks.
      	(gtk_range_destroy): get rid of the h/v adjustments in the
      	destroy handler instead of finalize. remove timer.
      	(gtk_range_get_adjustment): demand create adjustment.
      
      	* gtk/gtkviewport.c: made h/v adjustment non-construct args.
      	we simply create them on demand now and get rid of them in
      	the destroy handler.
      	(gtk_viewport_destroy): get rid of the h/v adjustments in the
      	destroy handler instead of finalize.
      	(gtk_viewport_get_hadjustment):
      	(gtk_viewport_get_vadjustment):
      	(gtk_viewport_size_allocate): demand create h/v adjustment
      	if required.
      
      	* gtk/gtkwidget.c (gtk_widget_finalize): duplicate part of the
      	gtk_widget_real_destroy () functionality.
      	(gtk_widget_real_destroy): reinitialize with a new style, instead
      	of setting widget->style to NULL.
      
      Fri May  5 13:02:09 2000  Tim Janik  <timj@gtk.org>
      
      	* gtk/gtkcalendar.c:
      	* gtk/gtkbutton.c: ported _get_type() implementation over to
      	GType, either to preserve memchunks allocation facilities,
      	or because Gtk+ 1.0 GtkTypeInfo was still being used.
      
      	* gtk/gtkobject.[hc]: derive from GObject. ported various functions
      	over. prepare for ::destroy to be emitted multiple times.
      	removed reference tracer magic. chain into GObjectClass.shutdown()
      	to emit ::destroy signal.
      
      	* gtk/gtksignal.c: removed assumptions about GTK_TYPE_OBJECT being
      	fundamental.
      
      	* gtk/gtkmain.c: removed gtk_object_post_arg_parsing_init()
      	cludge.
      
      	* gtk/gtksocket.c:
      	* gtk/gtkplug.c:
      	* gtk/gtklayout.c:
      	* gtk/gtklabel.c:
      	* gtk/gtkargcollector.c:
      	* gtk/gtkarg.c: various fixups to work with GTK_TYPE_OBJECT
      	not being a fundamental anymore, and to work with the new
      	type system (nuked fundamental type varargs clutter).
      
      	* gtk/*.c: install finalize handlers in the GObjectClass
      	part of the class structure.
      	changed direct GTK_OBJECT()->klass accesses to
      	GTK_*_GET_CLASS().
      	changed direct object_class->type accesses to GTK_CLASS_TYPE().
      
      	* gtktypeutils.[hc]: use the reserved fundamental ids provided by
      	GType. made most of the GTK_*() type macros and Gtk* typedefs
      	simple wrappers around macros and types provided by GType.
      	most notably, a significant portion of the old API vanished:
      	GTK_TYPE_MAKE(),
      	GTK_TYPE_SEQNO(),
      	GTK_TYPE_FLAT_FIRST, GTK_TYPE_FLAT_LAST,
      	GTK_TYPE_STRUCTURED_FIRST, GTK_TYPE_STRUCTURED_LAST,
      	GTK_TYPE_ARGS,
      	GTK_TYPE_CALLBACK,
      	GTK_TYPE_C_CALLBACK,
      	GTK_TYPE_FOREIGN,
      	GtkTypeQuery,
      	gtk_type_query(),
      	gtk_type_set_varargs_type(),
      	gtk_type_get_varargs_type(),
      	gtk_type_check_object_cast(),
      	gtk_type_check_class_cast(),
      	gtk_type_describe_tree(),
      	gtk_type_describe_heritage(),
      	gtk_type_free(),
      	gtk_type_children_types(),
      	gtk_type_set_chunk_alloc(),
      	gtk_type_register_enum(),
      	gtk_type_register_flags(),
      	gtk_type_parent_class().
      	replacements, where available are described in ../docs/Changes-1.4.txt.
      	implemented compatibility functions for the remaining API.
      
      	* configure.in: depend on glib 1.3.1, use gobject module.
      9595c551
  29. 23 Jan, 1999 1 commit
    • Owen Taylor's avatar
      X expects longs, not uint32 for XChangeProperty, when format == 32. · 79fbe482
      Owen Taylor authored
      Sat Jan 23 11:15:39 1999  Owen Taylor  <otaylor@gtk.org>
      
      	* gdk/gdkdnd.c (gdk_window_register_dnd): X expects
      	 longs, not uint32 for XChangeProperty, when
      	 format == 32.
      
      	* gdk/gdkdnd.c (motif_read_initiator_info): Byte-swap
      	 the MotifInitiatorInfo structure if necessary.
      
       	* gdk/gdkdnd.c: When extracting and constructing
               Motif DND messages, don't use data.s[], data.l[]
      	 since on 64bit architectures, these won't necessarily
      	 be in the same place with data.b[].
      
       	* gtk/testdnd.c (target_drag_drop): Return TRUE for
      	 drag_drop within the drop zone.
      
      	* gtk/gtkdnd.c (gtk_drag_dest_handle_event): Only send
      	 a XmTRANSFER_FAILURE if no drop site is found, not
      	 on every drop!
      79fbe482
  30. 12 Jan, 1999 1 commit
    • Owen Taylor's avatar
      Add a drag_data_received handler for the label. · 24f6d8b8
      Owen Taylor authored
      Tue Jan 12 18:30:51 1999  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/testdnd.c (label_drag_data_received): Add
      	a drag_data_received handler for the label.
      
      Tue Jan 12 15:01:50 1999  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkevents.c: Removed the putback_events queue,
      	since it was causing problems with event ordering -
      	just keep a single queue. If we need it, we can
      	add priorities to events.
      
      	* gdk/gdkevents.c: Annotate events with flags - we allocate
      	a GdkEventPrivate structure in gdk_event_new() and use these
      	flags to mark an event being translated as "pending" -
      	I.e., not yet ready to be dequeued. So we can put
      	the event on the queue and get the order of the
      	events right. (This solves the double-click problems)
      
      	* gdk/gdk.h gdk/gdkevents.h: Add gdk_event_peek() to get a copy
      	of the next event on the event queue.
      
      	* gtk/gtkmain.c (gtk_main_do_event): Use gdk_event_peek()
      	to check the next event without causing event queue
      	reordering.
      24f6d8b8
  31. 10 Dec, 1998 1 commit
  32. 09 Dec, 1998 1 commit
    • Manish Singh's avatar
      put text after #endif in comment · adc2698d
      Manish Singh authored
      * gdk/gdkprivate.h: put text after #endif in comment
      
      * gdk/gdktypes.h: change whitespace in enum to shut up makeenums.pl
      
      * gtk/testdnd.c: #include <string.h>
      
      -Yosh
      adc2698d
  33. 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
  34. 27 Nov, 1998 1 commit
    • Owen Taylor's avatar
      New function to get the source widget of a drag. · f26c189e
      Owen Taylor authored
      Fri Nov 27 12:17:15 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkdnd.[ch] (gtk_drag_get_source_widget): New function to
      	get the source widget of a drag.
      
      	* gtk/gtkdnd.[ch]: Target flags GTK_TARGET_SAME_[WIDGET/APP]
      	to restrict certain targets to the same widget or to
      	the same application.
      
      	* gtk/testdnd.c: Test gtk_drag_get_source_widget().
      f26c189e
  35. 18 Oct, 1998 1 commit