1. 08 Nov, 2002 1 commit
    • Soeren Sandmann's avatar
      docs/reference/gdk/tmpl/dnd.sgml docs/reference/gdk/tmpl/drawing.sgml · b1165617
      Soeren Sandmann authored
      Fri Nov  8 20:14:52 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* docs/reference/gdk/tmpl/dnd.sgml
      	docs/reference/gdk/tmpl/drawing.sgml
      	docs/reference/gdk/tmpl/gdk-unused.sgml
      	docs/reference/gdk/tmpl/gdkdisplay.sgml
      	docs/reference/gdk/tmpl/general.sgml
      	docs/reference/gdk/tmpl/input_devices.sgml
      	docs/reference/gdk/tmpl/selections.sgml
      	docs/reference/gtk/tmpl/gtkcellrenderer.sgml
      	docs/reference/gtk/tmpl/gtkcurve.sgml
      	docs/reference/gtk/tmpl/gtkdnd.sgml
      	docs/reference/gtk/tmpl/gtkitemfactory.sgml
      	docs/reference/gtk/tmpl/gtkmenu.sgml
      	docs/reference/gtk/tmpl/gtkoldeditable.sgml
      	docs/reference/gtk/tmpl/gtkoptionmenu.sgml
      	docs/reference/gtk/tmpl/gtkpreview.sgml
      	docs/reference/gtk/tmpl/gtkselection.sgml
      	docs/reference/gtk/tmpl/gtksocket.sgml
      	docs/reference/gtk/tmpl/gtkstyle.sgml
      	docs/reference/gtk/tmpl/gtktextbuffer.sgml
      	docs/reference/gtk/tmpl/gtktreemodel.sgml
      	docs/reference/gtk/tmpl/gtkwidget.sgml gdk/gdk.h gdk/gdkdisplay.c
      	gdk/gdkdisplay.h gdk/gdkdnd.h gdk/gdkdraw.c gdk/gdkdrawable.h
      	gdk/gdkinput.h gdk/gdkselection.h gdk/x11/gdkdisplay-x11.c
      	gdk/x11/gdkdnd-x11.c gdk/x11/gdkselection-x11.c gtk/gtkcurve.h
      	gtk/gtkdnd.h gtk/gtkitemfactory.c gtk/gtkitemfactory.h
      	gtk/gtkmenu.h gtk/gtkoldeditable.c gtk/gtkoldeditable.h
      	gtk/gtkoptionmenu.h gtk/gtkplug.c gtk/gtkplug.h gtk/gtkpreview.h
      	gtk/gtkrange.h gtk/gtkselection.c gtk/gtkselection.h
      	gtk/gtksocket.c gtk/gtksocket.h gtk/gtkstyle.c gtk/gtkstyle.h
      	gtk/gtktextlayout.c gtk/gtktextlayout.h gtk/gtktreemodel.c
      	gtk/gtktreemodel.h gtk/gtkwidget.h
      
      	Trivial s/foo/foo_/ fixes to make gtk.h includable with -Wshadow
      	without warnings. (#91680)
      b1165617
  2. 13 Oct, 2002 1 commit
    • Manish Singh's avatar
      Deprecation cleanup · c77265d3
      Manish Singh authored
      Sun Oct 13 12:29:15 2002  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtkcolorsel.[ch] gtk/gtkcombo.[ch] gtk/gtkplug.[ch]
              gtk/gtksocket.[ch] gtk/gtktreeview.[ch] gtk/gtktreeviewcolumn.[ch]:
              Deprecation cleanup
      
              * gtk/gtkcolorseldialog.c: make window not resizable (lost
              accidently in the previous cleanup)
      c77265d3
  3. 06 Jun, 2002 1 commit
    • Owen Taylor's avatar
      Add a "is_focus" property indicating whether a widget is the focus widget · c0f78ae0
      Owen Taylor authored
      Fri May 17 17:27:21 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkwindow.c gtk/gtkwidget.c: Add a "is_focus"
              property indicating whether a widget is the focus
              widget within the toplevel.
      
              * gtk/gtkwindow.[ch]: Add "is_active" "has_toplevel_focus"
              properties to indicate (separately) the idea of
              being the part of the toplevel with the input focus
              and being the active widget. (Needed for full XEMBED
              compliance.)
      
              * gtk/gtkplug.c gtk/gtksocket.c: Update to work
              in terms of is_active/has_toplevel_focus, and thus
              handle the active/focused XEMBED distinction
              correctly.
      
              * gtk/gtkplug.c (gtk_plug_realize): Remove
              FOCUS_CHANGE_MASK, since we don't need it.
      
      Fri May 17 18:07:34 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtksocket.c (gtk_socket_add_window): Send
              XEMBED_EMBEDDED_NOTIFY.
      
              * gtk/gtksocket.c: Assume windows without _XEMBED_INFO
              property want to be mapped, for better
              current-Qt compatibility.
      c0f78ae0
  4. 24 Feb, 2002 1 commit
    • Owen Taylor's avatar
      Implement accelerator propagation using a custom XEMBED_GTK_KEY_GRAB · 6a802b24
      Owen Taylor authored
      Sat Feb 23 20:33:29 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkplug.[ch] gtk/gtksocket.[ch] gtk/xembed.h: Implement
              accelerator propagation using a custom XEMBED_GTK_KEY_GRAB
              XEMBED_GTK_KEY_UNGRAB pair of messages.
      
              * gtk/gtkwindow.[ch]: private export _gtk_window_keys_foreach().
      
              * gtk/gtkplug.c (gtk_plug_set_is_child): Clear focus and default
              widgets.
      6a802b24
  5. 23 Feb, 2002 1 commit
    • Owen Taylor's avatar
      Massive padding addition to class structures. · e5d1ea8c
      Owen Taylor authored
      Sat Feb 23 11:54:12 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/*.h gdk/*.h: Massive padding addition to class structures.
      
              * gtk/gtktextmark.h: Fix a FIXME about G_CONST_RETURN.
      e5d1ea8c
  6. 28 Nov, 2001 1 commit
  7. 19 Nov, 2001 1 commit
    • Owen Taylor's avatar
      label_xalign and label_yalign need to be float properties to correspond to · 99157628
      Owen Taylor authored
      Mon Nov 19 12:28:02 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkframe.c (gtk_frame_class_init): label_xalign
      	and label_yalign need to be float properties to
      	correspond to GTK+-1.2, to gtk_frame_set_label_align,
      	and to the types of the xalign and yalign properties of GtkMisc.
      	(#63484, Vitaly Tishkov)
      
      Mon Nov 19 12:24:30 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtksocket.h (struct _GtkSocketClass): Fix return
      	of plug_added vfunc. (#64408, Jeff Franks)
      99157628
  8. 05 Jul, 2001 1 commit
    • Owen Taylor's avatar
      Check GTK_WIDGET_TOPLEVEL(gtk_widget_get_toplevel (widget)), not · c1a14d03
      Owen Taylor authored
      Wed Jul  4 22:35:40 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtklabel.c gtk/gtkmenubar.c gtk/gtktreeviewcolumn.c
      	  gtk/gtkwidget.c:
      	Check GTK_WIDGET_TOPLEVEL(gtk_widget_get_toplevel (widget)),
      	not GTK_WIDGET_GET_ANCESTOR ... see
      	http://mail.gnome.org/archives/gtk-devel-list/2001-July/msg00072.html.
      	Indicate the best practice in the docs for gtk_widget_get_toplevel().
      
      	* gtk/gtkwidget.[ch]: Expose a private _gtk_widget_hierarchy_changed(),
      	so GtkPlug can give the correct signals when transforming
      	from a child to a toplevel.
      
      	* gtk/gtkdnd.c (gtk_drag_dest_hierarchy_changed): Handle
      	reparentation correctly.
      
      	* gtk/gtkwidget.c (gtk_widget_propagate_hierarchy_changed):
      	Propagate the previous_toplevel argument down properly.
      
      	* gtk/gtklabel.c (gtk_label_finalize): Fix unrefing
      	of wrong atr list.
      
      	* gtk/gtkplug.[ch]: Add an "embedded" signal.
      
      	* gtk/gtksocket.[ch]: Add "child_added", "child_removed"
      	signals.
      
      	* gtk/gtkplug.[ch] gtk/gtksocket.[ch]: Add
      	functions gtk_plug_get_id(), gtk_socket_get_id(),
      	to avoid the user having to worry about realization,
      	and gdkx.h.
      
      	* tests/testsocket.c: Extend to try out the new signals
      	and gtk_plug/socket_get_id().
      
      	* gtk/gtklabel.c (gtk_label_set_pattern_internal): Fix
      	setting of underline attributes.
      
      	* gdk/x11/gdkevents-x11.c (gdk_event_translate): Ignore
      	DestroyNotify events from SubstructureNotifyMask
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_reparent):
      	Switch GDK_WINDOW_TYPE (window) as needed.
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_new): Clean up,
      	allow creation of toplevel windows as children of
      	foreign windows.
      
      	* gtk/gtkplug.c: Remove hacks involving changing private
      	fields of GdkWindow.
      
      	* gtk/gtkplug.[ch] gtk/gtksocket.c: Work to make
      	exactly the same signals and notification
      	be emitted for local embedding as for inter-process
      	embedding.
      c1a14d03
  9. 03 Jul, 2001 1 commit
    • Owen Taylor's avatar
      For XEMBED embedding add a _XEMBED_INFO property to the client with · f409cd9b
      Owen Taylor authored
      Mon Jul  2 16:53:25 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/xembed.h gtk/gtkplug.c gtk/gtksocket.c: For
      	XEMBED embedding add a _XEMBED_INFO property to the
      	client with version number and a "mapped" flags.
      	Use the mapped flag instead of the racy MapRequestEvent
      
              * gtk/gtksocket.c: Clean up the gtk_socket_steal()
      	code to reliably set things (when the child is a passive
      	embedder participating in the XEMBED protocol) intead
      	of just being a hack for embedding non-participating
      	programs. Fix various bugs and race conditions.
      
      	* gtk/gtksocket.[ch] gtk/gtkplug.[ch]: Make local embedding
      	work by simply making the GtkSocket the gtk parent
      	of the GtkPlug. Set a flag in this case and make
      	the GtkPlug work like a normal container by overriding
      	methods such as check_resize and "chaining past" GtkWindow
      	to GtkBin.
      
       	* gtk/gtkentry.c (gtk_entry_real_activate)
      	  gtk/gtkmain.c (gtk_propagate_event):
       	Eliminate use of gtk_widget_get_ancestor (widget, GTK_TYPE_WINDOW).
      
      	* gtk/gtkwidget.c (gtk_widget_get_toplevel,
      	gtk_widget_get_ancestor):
      	Explain	why gtk_widget_get_ancestor (widget, GTK_TYPE_WINDOW)
      	might not give the expected result and recommend
      	an alternative.
      
      	* tests/testsocket.c tests/testsocket_child.c
      	tests/testsocket_common.c tests/Makefile.am: Extended
      	to test different type of adding plugs to sockets
      	(local,active,passive),	and to test mapping/unmapping
      	the plug.
      
       	* gdk/gdkwindow.c (_gdk_window_destroy_hierarchy): Don't
       	mark the window as destroyed until after we
       	called _gdk_windowing_window_destroy().
      	(_gdk_windowing_window_destroy() may use GDK functions
      	on the window.)
      
       	* gdk/x11/gdkinput.c: Remove the check for finalization -
       	devices can be finalized under some circumnstances.
      
       	* gdk/x11/gdkinput-x11.c (gdk_input_device_new): Fix
       	small problem with GDK_TYPE_DEVICE.
      f409cd9b
  10. 19 Apr, 2001 1 commit
    • Owen Taylor's avatar
      File containing #defines for XEMBED protocol. · bf660df9
      Owen Taylor authored
      Thu Apr 19 16:11:07 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/Makefile.am xembed.h: File containing #defines
      	for XEMBED protocol.
      
      	* gtk/gtkplug.[ch] gtk/gtksocket.[ch]:
      
      	- Change protocol from old plug/socket specific protocol
      	  to XEMBED draft
      	- Various fixes to work with GTK+-2.0
      
      	Still quite a bit of work to do here to handle initiation
      	from the socket side (as specified by XEMBED), to handle
      	the more advanced features of XEMBED, and to figure out
      	a good way to handle same-app embedding with less overhead
      	than using full XEMBED.
      bf660df9
  11. 30 Aug, 2000 1 commit
  12. 26 Jul, 2000 1 commit
  13. 20 Jun, 2000 1 commit
  14. 13 Feb, 2000 1 commit
    • Tim Janik's avatar
      s/refcount/ref_count/. · ef03cb52
      Tim Janik authored
      Sun Feb 13 08:54:45 2000  Tim Janik  <timj@gtk.org>
      
              * gdk/gdkcursor.h (struct _GdkCursor): s/refcount/ref_count/.
              * gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixmap):
              * gdk/x11/gdkcursor-x11.c (_gdk_cursor_destroy):
              * gdk/gdkcursor.c (gdk_cursor_ref): insert assertments for the
              parameters given and cursor->ref_count. coding style fixups.
      
              * gtk/gtksocket.c (gtk_socket_class_init): parent class is GtkContainer,
              not GtkWidget.
      
              * gtk/*.h: applied patch from Mathieu Lacage <lacage@email.enst.fr> to
              fix up widget macros and add _GET_CLASS() variant.
      
              * gtk/*.c: some GtkType fixups.
      ef03cb52
  15. 17 Sep, 1999 1 commit
    • Tor Lillqvist's avatar
      Add gdk_threads_mutex. · 4850edb2
      Tor Lillqvist authored
      1999-09-17  Tor Lillqvist  <tml@iki.fi>
      
      * gdk/win32/gdk.def: Add gdk_threads_mutex.
      
      * gtk/makefile.msc: Correct path to libintl.
      
      Thanks to Tomi Ollila and Bernd Herd: Fix some inconsistencies in
      use of gint vs. int, and gint vs. gboolean in headers and
      definitions. Use GtkType for the *_get_type functions. Note that
      these changes preserve binary compatibility.
      
      * gdk/gdk.c
      * gdk/win32/gdk.c
      * gdk/gdk.h: Fix inconsistencies: gint vs int.
      
      * gtk/gtkmain.c
      * gtk/gtkclist.c
      * gtk/gtkmenufactory.c
      * gtk/gtknotebook.c
      * gtk/gtkwidget.c: Fix inconsistencies, also gint
      vs. gboolean.
      
      * gtk/gtkcolorsel.[ch]
      * gtk/gtkcombo.[ch]
      * gtk/gtkdrawingarea.[ch]
      * gtk/gtkgamma.[ch]
      * gtk/gtkhandlebox.[ch]
      * gtk/gtkhpaned.[ch]
      * gtk/gtkhruler.[ch]
      * gtk/gtkplug.[ch]
      * gtk/gtkpreview.[ch]
      * gtk/gtkruler.[ch]
      * gtk/gtksocket.[ch]
      * gtk/gtkstatusbar.[ch]
      * gtk/gtktoolbar.[ch]
      * gtk/gtkvbbox.[ch]
      * gtk/gtkvpaned.[ch]
      * gtk/gtkvruler.[ch]: Always use type GtkType for the *_get_type
      functions.
      
      * gtk/gtkgamma.h: Fix bug, missing () in call of
      gtk_gamma_curve_get_type() in GTK_GAMMA_CURVE_CLASS.
      4850edb2
  16. 24 Feb, 1999 1 commit
  17. 24 Nov, 1998 1 commit
    • Owen Taylor's avatar
      Added layout widget for scrolling arbitrarily big areas. Added plug/socket · ee1d4392
      Owen Taylor authored
      Mon Nov 23 22:10:09 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/Makefile.am gtk/gtk.h gtk/gtklayout.[ch]
      	gtk/gtkplug.[ch] gtk/gtksocket.[ch] gtk/gtk.h:
      
      	Added layout widget for scrolling arbitrarily big areas.
      	Added plug/socket widgets for interprocess embedding.
      
      	These widgets still, at some point, need to be
      	made more pure in their use of GDK, as opposed
      	to raw X.
      
      	* gtk/testgtk.c: Added test for layout widget.
      ee1d4392