summaryrefslogtreecommitdiff
path: root/gtk/gtkxembed.c
Commit message (Collapse)AuthorAgeFilesLines
* xembed: Fix compiler warningsMatthias Clasen2015-06-021-8/+8
| | | | Fix warnings due to -Wdeclaration-after-statement and -Wshadow.
* docs: use Returns: consistentlyWilliam Jon McCann2014-02-191-1/+1
| | | | Instead of Return value:
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* API: Remove GDK_WINDOW_XWINDOW() macroBenjamin Otte2010-12-021-2/+2
| | | | | | | Use GDK_WINDOW_XID() instead. THis was done using sed, so there might be issues resulting to that. Feel free to fix.
* Remove GtkObject completelyMatthias Clasen2010-09-261-0/+1
|
* gtk: gdk_drawable_get_display() => gdk_window_get_display()Benjamin Otte2010-09-261-1/+1
|
* More error trap cleanupsMatthias Clasen2010-09-201-1/+0
| | | | | Remove syncs in front of gdk_error_trap_pop() calls, and convert gdk_error_trap_pop() calls to gdk_error_trap_pop_ignored() in gdk.
* Use gdk_error_trap_pop_ignore() where appropriateMatthias Clasen2010-09-181-1/+1
|
* gtk/: fully remove gtkalias hacksJavier Jardón2010-07-101-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=623845
* [annotations] Add allow-noneJohan Dahlin2010-02-191-2/+2
| | | | | | | | This commit was created using a script that searched for all docstrings containing a parameter and the string 'or %NULL'. Gdk backends and demos excluded as they are not part of a public API https://bugzilla.gnome.org/show_bug.cgi?id=610474
* Revert name changeCody Russell2008-07-011-1/+1
| | | | svn path=/trunk/; revision=20724
* Practically everything changed.Cody Russell2008-06-301-1/+1
| | | | | | | | | | | | | 2008-06-30 Cody Russell <bratsche@gnome.org> * Practically everything changed. Change all references of GIMP Toolkit (and variations of it) to GTK+ Toolkit, showing no mercy at all to our beloved ancestry. (#540529) svn path=/trunk/; revision=20709
* Include "config.h" instead of <config.h> Command used: find -nameJohan Dahlin2008-06-221-1/+1
| | | | | | | | | | | | 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
* Fix some compiler warnings. (#433642, Kjartan Maraas)Matthias Clasen2007-04-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-04-30 Matthias Clasen <mclasen@redhat.com> Fix some compiler warnings. (#433642, Kjartan Maraas) * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_get_info): (gtk_file_system_win32_create_folder): * gtk/gtkaction.c (gtk_action_create_menu): Fix NULL/FALSE confusion. * gtk/gtklinkbutton.c (gtk_link_button_clicked): Pass the right type to uri_func. * gtk/gtktext.c (gtk_text_key_press): * gtk/gtkstatusicon.c (gtk_status_icon_get_property): * gtk/gtkxembed.c (_gtk_xembed_send_message): Add casts. * gtk/gtktrayicon-x11.c (gtk_tray_icon_manager_window_destroyed): (gtk_tray_icon_delete): * gtk/gtkprintunixdialog.c (create_main_page): * gtk/gtkhsv.c (gtk_hsv_motion): Remove unused variables. * gtk/gtkliststore.c: Adapt callbacks to GSequence types. svn path=/trunk/; revision=17739
* Apply a patch by Chris Wilson to avoid spurious valgrind warnings fromMatthias Clasen2007-01-041-11/+13
| | | | | | | | | | | 2007-01-03 Matthias Clasen <mclasen@redhat.com> * gtk/*.c: * gdk/x11/*.c: Apply a patch by Chris Wilson to avoid spurious valgrind warnings from XSendEvent() calls. (#392532) svn path=/trunk/; revision=17044
* Reduce size of static buffer.Matthias Clasen2006-04-031-2/+2
| | | | | | | 2006-04-03 Matthias Clasen <mclasen@redhat.com> * gtk/gtkxembed.c (_gtk_xembed_message_name): Reduce size of static buffer.
* Use the slice allocator for many small allocations.Matthias Clasen2006-01-041-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | 2006-01-04 Matthias Clasen <mclasen@redhat.com> * gtk/gtkaccelmap.c: * gtk/gtkactiongroup.c: * gtk/gtkdialog.c: * gtk/gtkfilesystemunix.c: * gtk/gtkgc.c: * gtk/gtkkeyhash.c: * gtk/gtkplug.c: * gtk/gtktextiter.c: * gtk/gtktextlayout.c: * gtk/gtkuimanager.c: * gtk/gtkwidget.c: * gtk/gtkwindow.c: * gtk/gtkxembed.c: Use the slice allocator for many small allocations. * gtk/gtkcolorsel.c: * gtk/gtktreeview.c: Use IPN. * gtk/gtkwidget.c: Remove an unused field from the AccelPath struct.
* gtk/gtkxembed.h New function, used in error messages and debugging output.Tor Lillqvist2005-07-211-1/+29
| | | | | | | | 2005-07-21 Tor Lillqvist <tml@novell.com> * gtk/gtkxembed.h * gtk/gtkxembed.c (_gtk_xembed_message_name): New function, used in error messages and debugging output.
* Make PLT-reduction work with gcc4, and don't include everything inMatthias Clasen2005-03-201-1/+1
| | | | | | | | | | | | | | | | | | 2005-03-20 Matthias Clasen <mclasen@redhat.com> Make PLT-reduction work with gcc4, and don't include everything in gdkalias.h: * gtk/grk.symbols: Group symbols by header and source file. * gtk/makegtkalias.pl: Protect definitions by the same preprocessor symbols used to guard the headers. Move the alias declarations to a separate file which is produced when calling makegtkalias.pl -def * gdk/Makefile.am (gtkaliasdef.c): Add a rule to generate this file. * gtk/*.c: Include gtkalias.h after the other headers, include gtkaliasdef.c at the bottom. * gtk/*.h: Small cleanups.
* Add hidden aliases for exported symbols which are used internally in orderMatthias Clasen2004-08-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mon Aug 9 12:48:04 2004 Matthias Clasen <maclas@gmx.de> Add hidden aliases for exported symbols which are used internally in order to get rid of many PLT entries. (#145519, Arjan van de Ven) * gtk/Makefile.am: Add rules to generate gtk.def and from gtk.symbols, and make make check check the abi with abicheck.sh. (gtk_private_h_sources): Add gtkinternals.h (gtk_built_private_headers): Add gtkalias.h (gtk_extra_sources): Add gtk.symbols (EXTRA_DIST): Add makegtkalias.pl and abicheck.sh * gtk/gtk.symbols: New file. Definition of the GTK+ ABI. The file can be processed by cpp to filter out certain subsets of symbols. * gtk/abicheck.sh: New file. Script to check the actually symbols exported from libgtk-x11.2.0.so against the symbols found in gtk.symbols. * gtk/makegtkalias.pl: New file. Perl script to generate the header containing the alias definitions for internally used exported symbols from a list of symbols. * gtk/gtkinternals.h: New file. An uninstalled header listing symbols which must be exported for some reason and do not appear in any other header. * gtk/*.c: Include gtkalias.h
* Fixes #136082 and #135265, patch by Morten Welinder.Federico Mena Quintero2004-03-061-0/+1
| | | | | | | | | | 2004-03-05 Federico Mena Quintero <federico@ximian.com> Fixes #136082 and #135265, patch by Morten Welinder. * configure.in: Use AC_SYS_LARGEFILE. * */*.c: #include <config.h>
* Silently do nothing when recipient is NULL, as described in the docOwen Taylor2003-10-281-2/+5
| | | | | | | | Tue Oct 28 09:44:16 2003 Owen Taylor <otaylor@redhat.com> * gtk/gtkxembed.c (_gtk_xembed_send_focus_message): Silently do nothing when recipient is NULL, as described in the doc comment. (#123107, Thomas Leonard)
* Send the focus on to the parent when there was no focus widget before andOwen Taylor2003-08-251-0/+210
Wed Aug 20 21:26:49 2003 Owen Taylor <otaylor@redhat.com> * gtk/gtkplug.c (gtk_plug_focus): Send the focus on to the parent when there was no focus widget before and no focus widget after - that is, when there are no focusable widgets. (#108678, help tracking it down from Padraig O'Briain, Federico Mena Quintero, ) * gtk/gtkxembed.[ch]: Move various shared utilities for the XEMBED protocol eused by GtkPlug and GtkSocket here. * gtk/gtkxembed.[ch] gtkplug.c gtksocket.c: Implement a flag bit that is sent with focus mesages to indicate that the focus has wrapped around on the toplevel; use this bit to catch infinite loops when there is no focusable widget at ll in the entire toplevel. * tests/testsocket.c (child_read_watch): Remove an extraneous unref. * gtk/gtkplug.c gtk/gtksocket.c gtk/gtkxembed.h: Up XEMBED protocol version to 1, add logic for sending the right version in XEMBED_EMBEDDED_NOTIFY. * gtk/gtksocket.c (gtk_socket_add_window): Send the embedder window in the XEMBED_EMBEDDED_NOTIFY as the spec requires.