summaryrefslogtreecommitdiff
path: root/gtk/gtkclipboard.c
Commit message (Collapse)AuthorAgeFilesLines
* introspection: This patch fixes nullable return values fixes for the ↵Alberto Ruiz2016-01-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | following symbols in gtk gtk_accel_group_query gtk_accel_group_from_accel_closure gtk_accel_label_get_accel_widget gtk_accessible_get_widget gtk_actionable_get_action_name gtk_app_chooser_get_app_info gtk_app_chooser_button_get_heading gtk_app_chooser_dialog_get_heading gtk_application_get_window_by_id gtk_assistant_get_nth_page gtk_binding_set_find gtk_builder_get_object gtk_builder_lookup_callback_symbol gtk_builder_get_application gtk_button_get_image gtk_cell_area_get_focus_from_sibling gtk_cell_renderer_start_editing gtk_cell_view_get_model gtk_cell_view_get_displayed_row gtk_clipboard_get_owner gtk_container_get_focus_child gtk_container_get_focus_vadjustment gtk_container_get_focus_hadjustment gtk_dialog_get_widget_for_response gtk_drag_get_source_widget gtk_drag_dest_get_target_list gtk_drag_source_get_target_list gtk_entry_completion_get_model gtk_entry_completion_compute_prefix gtk_expander_get_label_widget gtk_file_chooser_get_filename gtk_file_chooser_get_current_folder gtk_file_chooser_get_uri gtk_file_chooser_get_current_folder_uri gtk_file_chooser_get_preview_widget gtk_file_chooser_get_preview_file gtk_file_chooser_get_preview_filename gtk_file_chooser_get_preview_uri gtk_file_chooser_get_extra_widget gtk_file_chooser_get_filter gtk_file_chooser_native_get_accept_label gtk_file_chooser_native_get_cancel_label gtk_file_filter_get_name gtk_font_chooser_get_font_family gtk_font_chooser_get_font_face gtk_font_chooser_get_font gtk_font_chooser_get_font_desc gtk_font_chooser_get_font_map gtk_frame_get_label gtk_gesture_get_device gtk_gesture_get_window gtk_gl_area_get_error gtk_header_bar_get_title gtk_header_bar_get_subtitle gtk_header_bar_get_custom_title gtk_icon_info_get_filename gtk_icon_view_get_path_at_pos gtk_icon_view_get_model gtk_image_get_pixbuf gtk_image_get_animation gtk_label_get_mnemonic_widget gtk_label_get_attributes gtk_check_version gtk_menu_button_get_popup gtk_menu_button_get_menu_model gtk_menu_button_get_align_widget gtk_menu_button_get_popover gtk_menu_item_get_submenu gtk_menu_item_get_accel_path gtk_native_dialog_get_title gtk_native_dialog_get_transient_for gtk_notebook_get_nth_page gtk_notebook_get_tab_label_text gtk_notebook_get_menu_label gtk_notebook_get_menu_label_text gtk_notebook_get_group_name gtk_notebook_get_action_widget gtk_offscreen_window_get_surface gtk_offscreen_window_get_pixbuf gtk_paned_get_child1 gtk_paned_get_child2 gtk_places_sidebar_get_location gtk_places_sidebar_get_nth_bookmark gtk_plug_get_socket_window gtk_popover_get_default_widget gtk_progress_bar_get_text gtk_recent_filter_get_name gtk_recent_manager_lookup_item gtk_settings_get_default gtk_socket_get_plug_window gtk_stack_sidebar_get_stack gtk_stack_switcher_get_stack gtk_style_context_get_section gtk_style_context_get_parent gtk_style_context_get_frame_clock gtk_test_find_widget gtk_text_buffer_get_mark gtk_text_tag_table_lookup gtk_text_view_get_tabs gtk_text_view_toggle_cursor_visible gtk_text_view_get_window gtk_toolbar_get_nth_item gtk_tool_button_get_label gtk_tool_button_get_icon_name gtk_tool_button_get_label_widget gtk_tool_button_get_icon_widget gtk_tool_palette_get_drop_item gtk_tool_palette_get_drop_group gtk_tree_model_filter_convert_child_path_to_path gtk_tree_model_filter_convert_path_to_child_path gtk_tree_model_sort_convert_child_path_to_path gtk_tree_model_sort_convert_path_to_child_path gtk_tree_view_get_column gtk_tree_view_get_bin_window gtk_tree_view_column_get_widget gtk_tree_view_column_get_tree_view gtk_widget_get_frame_clock gtk_window_group_get_current_device_grab GtkTextBufferSerializeFunc
* gtkclipboard: Fix a potential g_signal_handler_disconnect(NULL) callPhilip Withnall2015-03-091-1/+1
| | | | | | Found by scan-build. https://bugzilla.gnome.org/show_bug.cgi?id=712760
* clipboard: Add get_default() helperJonas Danielsson2015-01-271-0/+20
| | | | | | | | Add helper for getting the main clipboard. This makes the API usable for bindings (as GdkAtoms aren't usable through gobject-introspection), and easier to use in C. https://bugzilla.gnome.org/show_bug.cgi?id=712752
* wayland: Replace clipboard implementationCarlos Garnacho2014-09-011-9/+1
| | | | | | | | | The wayland specific clipboard functions have been replaced by something more similar to the hooking the win32 backend does, which allows for just using the default GtkClipboard code in GTK+. As a consequence, the wayland-specific GtkClipboard implementation is now gone. https://bugzilla.gnome.org/show_bug.cgi?id=697855
* gtk: port many nullability annotation fixes from Vala bindingsEvan Nemerson2014-05-301-11/+10
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=730745
* clipboard: Add link to GdkDisplay in docJonas Danielsson2014-03-281-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=712752
* docs: use Returns: consistentlyWilliam Jon McCann2014-02-191-17/+17
| | | | Instead of Return value:
* docs: use apostrophes in *n'tWilliam Jon McCann2014-02-071-7/+7
|
* docs: use proper apostropheWilliam Jon McCann2014-02-071-4/+4
| | | | https://wiki.gnome.org/Design/OS/Typography
* docs: use proper quotesWilliam Jon McCann2014-02-051-7/+7
|
* docs: don't use ulink. use markdown insteadWilliam Jon McCann2014-02-041-3/+4
|
* docs: use ` instead of <literal>William Jon McCann2014-02-041-2/+2
|
* docs: use () instead of <function> tagsWilliam Jon McCann2014-01-271-1/+1
|
* docs: fix see also linkWilliam Jon McCann2014-01-211-1/+1
|
* all: Add names to timeoutsBastien Nocera2013-10-231-0/+1
| | | | | | | Add names to every timeout we setup, so it's easier to track their usage, and debug possible misbehaviour. https://bugzilla.gnome.org/show_bug.cgi?id=710651
* Add missing introspection annotationsPhil Clayton2013-09-101-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=707519
* clipboard: Reimplement Wayland clipboard using vfuncsBenjamin Otte2013-08-201-1/+10
| | | | | | | | This way, the Wayland and the regular clipboard implementation can both be compiled in and selected based on the display in use. One thing potentially broken now is text mime type handling as Wayland seemed to use different mime types in some places.
* clipboard: Make a bunch of functions vfuncsBenjamin Otte2013-08-201-15/+79
|
* clipboard: Split struct definitions into private headerBenjamin Otte2013-08-201-37/+1
|
* clipboard: remove dead codeAleksander Morgado2013-03-041-22/+4
| | | | | | | | | | | | | When setting contents of the clipboard and ownership or user data changes, we end up calling clipboard_unset() to fully cleanup the previous clipboard state. This call will itself call clear_func() for the previous user_data, and always reset both 'get_func' and 'clear_func' to NULL. So it's actually not possible to have 'get_func' being non-NULL once we have called clipboard_unset(), so just remove that condition check and the code inside. https://bugzilla.gnome.org/show_bug.cgi?id=694924
* gtk: Don't use GDK_THREADS_ENTER/LEAVE macros internallyMatthias Clasen2012-07-301-12/+12
| | | | | | These are just wrappers for the functions, and we want to deprecate them. Stopping to use them internally is a good first step.
* Fix malformed doc commentsMatthias Clasen2012-04-121-3/+3
| | | | | Most of these are forgotten :'s and similar details which gtk-doc now warns about.
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* Use G_SOURCE_CONTINUE/REMOVEMatthias Clasen2012-01-301-1/+1
| | | | | Now that GLib provides these macros, we should use them to make the code more readable.
* Move documentation to inline comments: GtkClipboardJavier Jardón2011-04-131-13/+77
|
* Make gtkclipboard.c:clipboard_get_timestamp multi-backend safeAlexander Larsson2011-04-071-3/+28
| | | | We can't just check for the backend defines, we have to do runtime checks too.
* [gi] add missing annotations for signals that emit Gdk.EventsJohn (J5) Palmieri2011-03-031-1/+1
|
* [GI] Mark unintrospectable constructs as (skip)Pavel Holejsovsky2011-01-201-6/+6
| | | | | Also adds 'Rename to:' annotation to some constructs replacing the skipped ones.
* [GI] Add missing (out) and (array) annotationsPavel Holejsovsky2011-01-201-12/+14
|
* Remove some direct access to GdkDragContext membersMatthias Clasen2010-12-211-1/+1
|
* gtk/gtkclipboard.c: Use accessor functions to access GtkSelectionDataJavier Jardón2010-12-151-12/+20
|
* Assign all g_signal_connect() and friends to gulong variablesAlberto Garcia2010-10-221-1/+1
| | | | Fixes https://bugzilla.gnome.org/show_bug.cgi?id=87821
* gtk: gdk_drawable_get_display() => gdk_window_get_display()Benjamin Otte2010-09-261-1/+1
|
* Tons of transfer annotationsMatthias Clasen2010-09-211-78/+76
|
* gtk/gtkdnd.c: Use accessor functions to access GtkWidgetJavier Jardón2010-08-221-2/+2
|
* gtk/: fully remove gtkalias hacksJavier Jardón2010-07-101-4/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=623845
* add allow-none annotation to gtk_clipboard_set_can_store's targets parameterJohn (J5) Palmieri2010-06-071-2/+3
|
* Fix introspection on return value transfer for gtk_clipboard_get*Alan Knowles2010-03-101-2/+2
| | | | ownership transfer set to none for clipboard get methods
* [introspection] Merge in Gtk-custom.c annotationsColin Walters2009-12-161-5/+6
| | | | | | | | The Gtk-custom.c file in gir-repository contained a number of introspection annotations. Merge those into the GTK source files. Some documentation was moved from the tmpl/ files to accomodate the addition of annotations.
* Fix a doc commentMatthias Clasen2009-11-271-12/+9
|
* bgo#463773 - Handle a NULL display in gtk_clipboard_get_for_display() so ↵Federico Mena Quintero2009-05-121-0/+1
| | | | Flash won't hang
* Bug 557315 – stale clipboard target cacheMatthias Clasen2008-10-251-1/+10
| | | | | | | | | | | | 2008-10-25 Matthias Clasen <mclasen@redhat.com> Bug 557315 – stale clipboard target cache * gtk/gtkclipboard.c (gtk_clipboard_set_contents): Remove cached targets. Pointed out by Evan Stade svn path=/trunk/; revision=21713
* use canonical signal name.Paolo Borelli2008-08-121-3/+5
| | | | | | | | | | 2008-08-12 Paolo Borelli <pborelli@katamail.com> * gtk/gtkclipboard.c (gtk_clipboard_store): use canonical signal name. svn path=/trunk/; revision=21104
* gtk/gtkaccelgroup.c gtk/gtkactiongroup.c gtk/gtkcalendar.cSven Neumann2008-08-111-1/+1
| | | | | | | | | | | | | | | | | | 2008-08-11 Sven Neumann <sven@gimp.org> * gtk/gtkaccelgroup.c * gtk/gtkactiongroup.c * gtk/gtkcalendar.c * gtk/gtkcelleditable.c * gtk/gtkclipboard-quartz.c * gtk/gtkclipboard.c * gtk/gtkcolorbutton.c * gtk/gtkcolorsel.c * gtk/gtkcontainer.c * gtk/gtkcurve.c: use canonical signal names. svn path=/trunk/; revision=21068
* gtk/gtkaboutdialog.c gtk/gtkcellrendereraccel.c gtk/gtkcellrenderercombo.cSven Neumann2008-08-111-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-08-11 Sven Neumann <sven@gimp.org> * gtk/gtkaboutdialog.c * gtk/gtkcellrendereraccel.c * gtk/gtkcellrenderercombo.c * gtk/gtkcellrendererspin.c * gtk/gtkcellrenderertext.c * gtk/gtkclipboard.c * gtk/gtkcolorsel.c * gtk/gtkcombo.c * gtk/gtkcombobox.c * gtk/gtkdnd-quartz.c * gtk/gtkdnd.c * gtk/gtkentry.c * gtk/gtkentrycompletion.c * gtk/gtkfilechooserbutton.c * gtk/gtkfilechooserdefault.c * gtk/gtkfilechooserentry.c * gtk/gtkfontsel.c * gtk/gtkinputdialog.c * gtk/gtkmenutoolbutton.c * gtk/gtkpathbar.c * gtk/gtktooltip.c: use canonical signal names in g_signal_connect(). svn path=/trunk/; revision=21060
* Use g_timeout_add_secondsMatthias Clasen2008-07-311-1/+1
| | | | svn path=/trunk/; revision=20921
* 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
* Add clipboard convenience helpers for URIs. Bug #537639.Christian Persch2008-06-191-0/+148
| | | | svn path=/trunk/; revision=20465