Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gtk: fix many callback annotations to include closure information | Evan Nemerson | 2014-05-27 | 1 | -1/+1 |
| | | | | | | | | | Without this information introspection-based consumers don't realize they can include context information, but instead think that they receive an extra gpointer argument (which they don't know how to handle). https://bugzilla.gnome.org/show_bug.cgi?id=730745 | ||||
* | docs: use Returns: consistently | William Jon McCann | 2014-02-19 | 1 | -2/+2 |
| | | | | Instead of Return value: | ||||
* | Docs: use // for comments in examples | Matthias Clasen | 2014-02-14 | 1 | -6/+3 |
| | | | | | Without sgml mode, we can't escape /* as /* anymore, so just switch to // for comments in examples. | ||||
* | Docs: Remove all entities and turn off sgml mode | Matthias Clasen | 2014-02-09 | 1 | -11/+10 |
| | | | | | With all element markup gone, it is time to turn off sgml mode, and get rid of entities as well. | ||||
* | docs: use more apostrophes | William Jon McCann | 2014-02-07 | 1 | -2/+2 |
| | |||||
* | docs: Use markup for links | William Jon McCann | 2014-02-07 | 1 | -1/+1 |
| | |||||
* | docs: use proper quotes | William Jon McCann | 2014-02-05 | 1 | -1/+1 |
| | |||||
* | docs: Use "#" for refsect2 instead of ## | William Jon McCann | 2014-02-04 | 1 | -2/+7 |
| | |||||
* | docs: Convert to markdown | Matthias Clasen | 2014-02-02 | 1 | -31/+23 |
| | | | | Specifically, switch to using markdown syntax for sections. | ||||
* | docs: Identify examples that are C code | William Jon McCann | 2014-01-29 | 1 | -2/+2 |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=723119 | ||||
* | docs: use |[ ]| instead of <programlisting></programlisting> | William Jon McCann | 2014-01-29 | 1 | -8/+8 |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=723119 | ||||
* | docs: don't use <emphasis> | William Jon McCann | 2014-01-28 | 1 | -2/+2 |
| | | | | It is a little heavy handed. The text can speak for itself. | ||||
* | Fix string allocation handling with GtkBuilder translations | Kalev Lember | 2013-06-08 | 1 | -2/+1 |
| | | | | | | | | | | | | | Use g_string_assign to avoid issues with assigning GString's internal buffer back to the same string. This can happen when no translations are available and _gtk_builder_parser_translate returns back the same pointer that was passed in. This fixes a regression from commit e9f182e37a7f6e2dc339054841a3c9f930f that caused GtkComboBoxText <items> from GtkBuilder to show up empty if no translations are available. https://bugzilla.gnome.org/show_bug.cgi?id=700629 | ||||
* | Fix a few memory leaks wrt to translations | Matthias Clasen | 2013-04-28 | 1 | -1/+1 |
| | | | | | | | Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=699016 The fix here is slightly different. We make _gtk_builder_parser_translate return a const char * instead of a dup'ed string, and fix up the callers. | ||||
* | docs: fix a number of typos and obsolete references | Cosimo Cecchi | 2012-07-02 | 1 | -2/+2 |
| | |||||
* | Change FSF Address | Javier Jardón | 2012-02-27 | 1 | -3/+1 |
| | |||||
* | Use G_VALUE_INIT | Javier Jardón | 2011-10-15 | 1 | -1/+1 |
| | | | | Instead of an explicit { 0, } when declaring the variable. | ||||
* | Documentation fixes | Matthias Clasen | 2011-09-25 | 1 | -1/+1 |
| | | | | | Mostly making sure that return values and varargs don't loose their docs. | ||||
* | Fixed GtkCellLayout buildable implementation to set cell properties ↵ | Tristan Van Berkom | 2011-02-02 | 1 | -27/+25 |
| | | | | explicitly set to "" (i.e. explicitly set to nothing). | ||||
* | Bandaid fix for icon view subclassing | Matthias Clasen | 2011-01-31 | 1 | -0/+49 |
| | | | | | | | | | | | | I've decided that it is isn't feasible to make cell areas runtime-settable in the time we have left before 3.0, therefore, I'm going with the approach to allow init() functions to instantiate the default cell area and issue a warning if a construct property is ignored. This is not ideal, but it keeps existing icon view and combo box subclasses working. https://bugzilla.gnome.org/show_bug.cgi?id=639139 | ||||
* | Fixed GtkCellLayout to parse <cell-packing> property text accumulatively. | Tristan Van Berkom | 2011-01-26 | 1 | -31/+48 |
| | |||||
* | Making GtkCellLayout "no cell area yet" warning a g_critical instead. | Tristan Van Berkom | 2011-01-13 | 1 | -1/+1 |
| | |||||
* | Added warnings to GtkCellLayout when api is accessed and there is no ↵ | Tristan Van Berkom | 2011-01-13 | 1 | -11/+36 |
| | | | | GtkCellArea to operate on. | ||||
* | Removed special casing code in GtkCellLayout in favor of default implementation. | Tristan Van Berkom | 2011-01-07 | 1 | -145/+192 |
| | | | | | | | | The fact that GtkCellLayout was checking "if (gtk_cell_layout_get_area (layout))" and executing code contitionally from the apis instead of simply falling back to the default implementation for these things was causing problems in language bindings such as gtkmm... Regardless, the implementation is cleaner this way too. | ||||
* | Fix introspection annotation syntax | Matthias Clasen | 2011-01-06 | 1 | -1/+1 |
| | |||||
* | Fix doc about gtk_cell_layout_get_area() | Milan Bouchet-Valat | 2011-01-05 | 1 | -3/+1 |
| | | | | | Return value was copied and pasted from gtk_cell_layout_get_cells(), which is obviously wrong. | ||||
* | Small doc cleanups for GtkCellLayout | Matthias Clasen | 2011-01-04 | 1 | -64/+73 |
| | |||||
* | Fixed gtk_cell_layout_set_cell_data_func() to pass the correct layout object | Tristan Van Berkom | 2010-12-22 | 1 | -1/+10 |
| | | | | | | Added _gtk_cell_area_set_cell_data_func_with_proxy() to be called by gtk_cell_layout_set_cell_data_func() when the layouting object itself is not the underlying cell area. | ||||
* | Fixed documentation of GtkCellLayout <cell-packing> | Tristan Van Berkom | 2010-12-17 | 1 | -1/+1 |
| | | | | | | Mention that it's safe to use <cell-packing> tag for any GtkCellLayout in GTK+ since they *all* use an underlying GtkCellArea (at least they will once the other branches land). | ||||
* | Added boolean return to GtkCellLayout buildable custom tag end shared ↵ | Tristan Van Berkom | 2010-12-04 | 1 | -3/+4 |
| | | | | private function. | ||||
* | Migrated GtkCellLayout documentation into the source code. | Tristan Van Berkom | 2010-12-04 | 1 | -0/+68 |
| | | | | | Also added a section on specifying <cell-packing> properties in the GtkCellLayout UI description. | ||||
* | Fixed GtkCellLayout to pack cells via the api when parsing builder input. | Tristan Van Berkom | 2010-11-29 | 1 | -5/+1 |
| | |||||
* | Allow minimal implementation of GtkCellLayout | Tristan Van Berkom | 2010-11-29 | 1 | -23/+126 |
| | | | | | | | Since GtkCellArea delegate does all the work, cell layout widgets who use a GtkCellArea internally only have to implement the _get_area() method, this just reduces code to forward the calls over the the internal cell area. | ||||
* | Added "cell-packing" property GtkBuildable parsing to GtkCellLayout | Tristan Van Berkom | 2010-11-16 | 1 | -10/+201 |
| | | | | | | Added gtk_cell_layout_get_area() iface vfunc and use that to apply packing cell properties to the child renderers when parsing from GtkBuilder. | ||||
* | Use g_ascii_strto[u]ll instead of strto[u]l | =Christian Persch | 2010-10-25 | 1 | -2/+2 |
| | | | | | | We don't want GtkBuilder input to be locale-dependent. Bug #632503 | ||||
* | gtk/gtkcelllayout.c: Use G_DEFINE_INTERFACE macro | Javier Jardón | 2010-08-26 | 1 | -26/+5 |
| | |||||
* | gtk/: fully remove gtkalias hacks | Javier Jardón | 2010-07-10 | 1 | -4/+1 |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=623845 | ||||
* | [introspection] Merge in Gtk-custom.c annotations | Colin Walters | 2009-12-16 | 1 | -2/+2 |
| | | | | | | | | 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. | ||||
* | Add some missing braces | Matthias Clasen | 2008-08-05 | 1 | -3/+5 |
| | | | | svn path=/trunk/; revision=21005 | ||||
* | Include "config.h" instead of <config.h> Command used: find -name | Johan Dahlin | 2008-06-22 | 1 | -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 | ||||
* | Do not assume that text is null-terminated as pointed out by Christopher | Johan Dahlin | 2007-08-07 | 1 | -4/+8 |
| | | | | | | | | | | | | | 2007-08-07 Johan Dahlin <jdahlin@async.com.br> * gtk/gtkbuilderparser.c (text): * gtk/gtkcelllayout.c (attributes_text_element): * gtk/gtkliststore.c (list_store_text): Do not assume that text is null-terminated as pointed out by Christopher Fergeau svn path=/trunk/; revision=18592 | ||||
* | pack children from the start instead of the end, this should probably be | Johan Dahlin | 2007-07-04 | 1 | -2/+2 |
| | | | | | | | | | | | 2007-07-04 Johan Dahlin <jdahlin@async.com.br> * gtk/gtkcelllayout.c (_gtk_cell_layout_buildable_add_child): pack children from the start instead of the end, this should probably be made configurable at some point. svn path=/trunk/; revision=18374 | ||||
* | Report errors about integer parsing back up. (#452988) | Matthias Clasen | 2007-07-03 | 1 | -2/+18 |
| | | | | | | | | | | | | 2007-07-03 Matthias Clasen <mclasen@redhat.com> * gtk/gtkcelllayout.c (attributes_text_element): Report errors about integer parsing back up. (#452988) * tests/buildertest.c: Add an extra check. svn path=/trunk/; revision=18364 | ||||
* | Rename buildable methods to not clash with widget methods. (#448928, | Johan Dahlin | 2007-06-19 | 1 | -4/+4 |
| | | | | | | | | | | 2007-06-19 Johan Dahlin <jdahlin@async.com.br> * gtk/*: Rename buildable methods to not clash with widget methods. (#448928, Torsten Schoenfeld) svn path=/trunk/; revision=18187 | ||||
* | Add GtkBuilder, fixes #172535 | Johan Dahlin | 2007-06-15 | 1 | -0/+112 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-06-15 Johan Dahlin <jdahlin@async.com.br> * demos/gtk-demo/Makefile.am: * demos/gtk-demo/builder.c: (quit_activate), (about_activate), (do_builder): * demos/gtk-demo/demo.ui: * docs/reference/gtk/gtk-docs.sgml: * docs/reference/gtk/gtk-sections.txt: * docs/reference/gtk/gtk.types: * docs/reference/gtk/tmpl/gtkbuildable.sgml: * docs/reference/gtk/tmpl/gtkbuilder.sgml: * gtk/Makefile.am: * gtk/gtk.h: * gtk/gtk.symbols: * gtk/gtkaction.c: (gtk_action_buildable_init), (gtk_action_buildable_set_name), (gtk_action_buildable_get_name): * gtk/gtkactiongroup.c: (gtk_action_group_get_type), (gtk_action_group_buildable_init), (gtk_action_group_buildable_add), (gtk_action_group_buildable_set_name), (gtk_action_group_buildable_get_name): * gtk/gtkbuildable.c: (gtk_buildable_get_type), (gtk_buildable_set_name), (gtk_buildable_get_name), (gtk_buildable_add), (gtk_buildable_set_property), (gtk_buildable_parser_finished), (gtk_buildable_construct_child), (gtk_buildable_custom_tag_start), (gtk_buildable_custom_tag_end), (gtk_buildable_custom_finished), (gtk_buildable_get_internal_child): * gtk/gtkbuildable.h: * gtk/gtkbuilder.c: (gtk_builder_class_init), (gtk_builder_init), (gtk_builder_finalize), (gtk_builder_set_property), (gtk_builder_get_property), (_gtk_builder_resolve_type_lazily), (gtk_builder_real_get_type_from_name), (gtk_builder_get_parameters), (gtk_builder_get_internal_child), (_gtk_builder_construct), (_gtk_builder_add), (apply_delayed_properties), (_gtk_builder_finish), (gtk_builder_new), (gtk_builder_add_from_file), (gtk_builder_add_from_string), (gtk_builder_get_object), (object_add_to_list), (gtk_builder_get_objects), (gtk_builder_set_translation_domain), (gtk_builder_get_translation_domain), (gtk_builder_connect_signals_default), (gtk_builder_connect_signals), (gtk_builder_connect_signals_full), (gtk_builder_value_from_string), (gtk_builder_value_from_string_type), (_gtk_builder_enum_from_string), (_gtk_builder_flags_from_string), (gtk_builder_get_type_from_name), (gtk_builder_error_quark): * gtk/gtkbuilder.h: * gtk/gtkbuilderparser.c: (state_push), (state_peek), (state_pop), (error_missing_attribute), (error_invalid_attribute), (error_invalid_tag), (builder_construct), (parse_object), (free_object_info), (_get_type_by_symbol), (parse_child), (free_child_info), (parse_property), (free_property_info), (parse_signal), (_free_signal_info), (parse_interface), (create_subparser), (free_subparser), (subparser_start), (subparser_end), (parse_custom), (start_element), (end_element), (text), (_gtk_builder_parser_parse_buffer): * gtk/gtkbuilderprivate.h: * gtk/gtkcelllayout.c: (attributes_start_element), (attributes_text_element), (_gtk_cell_layout_buildable_custom_tag_start), (_gtk_cell_layout_buildable_custom_tag_end), (_gtk_cell_layout_buildable_add): * gtk/gtkcelllayout.h: * gtk/gtkcellview.c: (gtk_cell_view_buildable_init), (gtk_cell_view_buildable_custom_tag_start), (gtk_cell_view_buildable_custom_tag_end): * gtk/gtkcolorseldialog.c: (gtk_color_selection_dialog_buildable_interface_init), (gtk_color_selection_dialog_buildable_get_internal_child): * gtk/gtkcombobox.c: (gtk_combo_box_buildable_init), (gtk_combo_box_buildable_custom_tag_start), (gtk_combo_box_buildable_custom_tag_end): * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_buildable_interface_init), (gtk_combo_box_entry_buildable_get_internal_child): * gtk/gtkcontainer.c: (gtk_container_get_type), (gtk_container_buildable_init), (gtk_container_buildable_add), (gtk_container_buildable_set_child_property), (attributes_start_element), (attributes_text_element), (gtk_container_buildable_custom_tag_start), (gtk_container_buildable_custom_tag_end): * gtk/gtkdebug.h: * gtk/gtkdialog.c: (gtk_dialog_buildable_interface_init), (gtk_dialog_buildable_get_internal_child), (attributes_start_element), (attributes_text_element), (gtk_dialog_buildable_custom_tag_start), (gtk_dialog_buildable_custom_finished): * gtk/gtkentrycompletion.c: (gtk_entry_completion_buildable_init): * gtk/gtkexpander.c: (gtk_expander_buildable_add), (gtk_expander_buildable_init): * gtk/gtkfontsel.c: (gtk_font_selection_dialog_buildable_interface_init), (gtk_font_selection_dialog_buildable_get_internal_child): * gtk/gtkframe.c: (gtk_frame_buildable_init), (gtk_frame_buildable_add): * gtk/gtkiconview.c: (gtk_icon_view_buildable_init), (gtk_icon_view_buildable_custom_tag_start), (gtk_icon_view_buildable_custom_tag_end): * gtk/gtkliststore.c: (gtk_list_store_buildable_init), (list_store_start_element), (list_store_end_element), (list_store_text), (gtk_list_store_buildable_custom_tag_start), (gtk_list_store_buildable_custom_tag_end): * gtk/gtkmain.c: * gtk/gtknotebook.c: (gtk_notebook_buildable_init), (gtk_notebook_buildable_add): * gtk/gtksizegroup.c: (gtk_size_group_buildable_init), (size_group_start_element), (gtk_size_group_buildable_custom_tag_start), (gtk_size_group_buildable_custom_finished): * gtk/gtktreestore.c: (gtk_tree_store_buildable_init), (tree_model_start_element), (gtk_tree_store_buildable_custom_tag_start), (gtk_tree_store_buildable_custom_finished): * gtk/gtktreeview.c: (gtk_tree_view_buildable_init), (gtk_tree_view_buildable_add): * gtk/gtktreeviewcolumn.c: (gtk_tree_view_column_buildable_init): * gtk/gtkuimanager.c: (gtk_ui_manager_buildable_init), (gtk_ui_manager_buildable_add), (gtk_ui_manager_buildable_construct_child), (gtk_ui_manager_buildable_custom_tag_start), (gtk_ui_manager_buildable_custom_tag_end): * gtk/gtkwidget.c: (gtk_widget_get_type), (gtk_widget_buildable_interface_init), (gtk_widget_buildable_set_name), (gtk_widget_buildable_get_name), (gtk_widget_buildable_set_property), (gtk_widget_buildable_parser_finshed), (accel_group_start_element), (gtk_widget_buildable_custom_tag_start), (gtk_widget_buildable_custom_finshed): * gtk/gtkwindow.c: (gtk_window_buildable_interface_init), (gtk_window_buildable_set_property), (gtk_window_buildable_parser_finished): * tests/Makefile.am: * tests/buildertest.c: (builder_new_from_string), (test_parser), (signal_normal), (signal_after), (signal_object), (signal_object_after), (signal_first), (signal_second), (signal_extra), (signal_extra2), (test_connect_signals), (test_uimanager_simple), (test_domain), (test_translation), (test_sizegroup), (test_list_store), (test_tree_store), (test_types), (test_spin_button), (test_notebook), (test_construct_only_property), (test_children), (test_child_properties), (test_treeview_column), (test_icon_view), (test_combo_box), (test_combo_box_entry), (test_cell_view), (test_dialog), (test_accelerators), (test_widget), (main): Add GtkBuilder, fixes #172535 svn path=/trunk/; revision=18141 | ||||
* | New function to get the cell renderers of a cell layout. | Matthias Clasen | 2006-12-29 | 1 | -0/+26 |
| | | | | | | | | | | | | 2006-12-29 Matthias Clasen <mclasen@redhat.com> * gtk/gtk.symbols: * gtk/gtkcelllayout.[hc] (gtk_cell_layout_get_cells): New function to get the cell renderers of a cell layout. * gtk/gtktreeviewcolumn.c: * gtk/gtkcellview.c: * gtk/gtkiconview.c: Implement get_cells. | ||||
* | Apply a patch by Behdad Esfahbod to reduce relocations. (#359053) | Matthias Clasen | 2006-10-03 | 1 | -1/+1 |
| | | | | | | | 2006-10-03 Matthias Clasen <mclasen@redhat.com> * gtk/*.c, gdk/*.c: Apply a patch by Behdad Esfahbod to reduce relocations. (#359053) | ||||
* | Intern some more strings. | Matthias Clasen | 2005-09-01 | 1 | -1/+2 |
| | | | | | | | | | 2005-09-01 Matthias Clasen <mclasen@redhat.com> * gdk/*.c: Intern some more strings. * gtk/gtkintl.h: * gtk/*.c: Define an I_() macro and use it instead of the bulky g_intern_static_string(). | ||||
* | Intern type names in code generated by glib-mkenums, too. | Matthias Clasen | 2005-08-31 | 1 | -1/+1 |
| | | | | | | | | | | | | | 2005-08-31 Matthias Clasen <mclasen@redhat.com> * gdk/Makefile.am: * gtk/Makefile.am: Intern type names in code generated by glib-mkenums, too. * gtk/*.c: * gdk/x11/*.c: * gdk/*.c: Intern type names before registering the type to avoid unnecessary copies. | ||||
* | 2.7.2GTK_2_7_2 | Matthias Clasen | 2005-07-08 | 1 | -0/+4 |
| |