- 28 May, 2008 23 commits
-
-
Michael Natterer authored
2008-05-28 Michael Natterer <mitch@imendio.com> * gtk/gtk*.h: whitespace cleanup: remove trailing whitespace and excess newlines and sprinkled some newlines where needed. Zero code or formatting changes included. svn path=/trunk/; revision=20225
-
Michael Natterer authored
2008-05-28 Michael Natterer <mitch@imendio.com> * gtk/gtkprinter.h: fix formatting of details_acquired() signal. svn path=/trunk/; revision=20224
-
Michael Natterer authored
2008-05-28 Michael Natterer <mitch@imendio.com> * gtk/gtkcolorbutton.h: fix comment: the widget is called GtkColorButton, not GtkColorSelectButton. Remove trailing whitespace and excess newlines. svn path=/trunk/; revision=20223
-
Michael Natterer authored
2008-05-28 Michael Natterer <mitch@gimp.org> * configure.in: last but not least, add G_DISABLE_SINGLE_INCLUDES, GDK_PIXBUF_DISABLE_SINGLE_INCLUDES and GTK_DISABLE_SINGLE_INCLUDES to CPPFLAGS so it's impossible to commit code that would break apps which use DISABLE_INCLUDE defines. svn path=/trunk/; revision=20222
-
Michael Natterer authored
2008-05-28 Michael Natterer <mitch@imendio.com> * gtk/gtk.h: define __GTK_H_INSIDE__ around including all other headers. * gtk/gtktypebuiltins.h.template * gtk/gtkversion.h.in * gtk/gtk*.h: add single-include guards that #error out if GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is included individually. * gtk/gtkprintbackend.h * gtk/gtkprinter-private.h * gtk/gtktextlayout.h * gtk/gtktexttagprivate.h * gtk/gtktexttypes.h * gtk/gtktreedatalist.h: include <gtk/gtk.h> instead of individual headers in these private or semi-private headers. * gtk/gtkimmodule.h: also here because it's not in gtk.h. * gtk/gtkpagesetupunixdialog.h * gtk/gtkprinter.h * gtk/gtkprintjob.h * gtk/gtkprintunixdialog.h: likewise in the gtkunixprint headers. * gtk/gtkclist.h * gtk/gtkcombo.h * gtk/gtkctree.h * gtk/gtkfilesel.h * gtk/gtkitemfactory.h * gtk/gtklist.h * gtk/gtklistitem.h * gtk/gtkoldeditable.h * gtk/gtkoptionmenu.h * gtk/gtkpixmap.h * gtk/gtkpreview.h * gtk/gtksignal.h * gtk/gtktipsquery.h: whenever possible, include only <gtk/gtk.h> instead of individual headers in these deprecated headers. They don't get included at all when GTK_DISABLE_DEPRECATED is defined, so if an app needs them anyway, it must undef GTK_DISABLE_DEPRECATED and include them individually, which should continue to work. * gtk/gtkclist.c: include "gtkctree.h" because of the change above. svn path=/trunk/; revision=20221
-
Kristian Rietveld authored
2008-05-28 Kristian Rietveld <kris@imendio.com> Bug 449625 - crash in gtk_tree_view_real_move_cursor at gtktreeview.c:9641 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): cursor_offset *must* be larger than background height of the cursor node, not just equal otherwise there is no guarantee there is a next node. svn path=/trunk/; revision=20219
-
Michael Natterer authored
2008-05-28 Michael Natterer <mitch@imendio.com> * gtk/gtktestutils.c: don't include <gdk/gdktestutils.h>. svn path=/trunk/; revision=20218
-
Michael Natterer authored
2008-05-28 Michael Natterer <mitch@imendio.com> * gdk/gdk.h: define __GDK_H_INSIDE__ around including all other headers. * gdk/gdkenumtypes.h.template * gdk/gdk*.h: add single-include guards that #error out if GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is included individually. Also removed some redundant includes and did some tiny trailing whitespace removal that's not worth to commit separately. * gdk/gdkprivate.h: include <gdk/gdk.h> instead of individual files. * gdk/win32/gdkwin32.h * gdk/x11/gdkx.h: only include <gdk/gdkprivate.h> and remove all other includes. svn path=/trunk/; revision=20217
-
Kristian Rietveld authored
2008-05-28 Kristian Rietveld <kris@imendio.com> Bug 504087 - make gtk_tooltip_set_custom a no-op for setting the current widget again. * gtk/gtktooltip.c (gtk_tooltip_set_custom), (gtk_tooltip_reset), (gtk_tooltip_run_requery): use a custom_was_reset field to check if the custom widget is set again in the query-tooltip callback; if not, we set it to NULL. Based on a patch by Xavier Claessens, insightful comments from Jean-Yves Lefort and Christian Persch. svn path=/trunk/; revision=20215
-
Michael Natterer authored
2008-05-28 Michael Natterer <mitch@imendio.com> * gdk-pixbuf.h: define GDK_PIXBUF_H_INSIDE around including all other headers. * gdk-pixbuf-animation.h * gdk-pixbuf-core.h * gdk-pixbuf-enum-types.h.template * gdk-pixbuf-features.h.in * gdk-pixbuf-io.h * gdk-pixbuf-loader.h * gdk-pixbuf-simple-anim.h * gdk-pixbuf-transform.h: add single-include guards that #error out if GDK_PIXBUF_DISABLE_SINGLE_INCLUDES is defined and any of these files is included individually. * gdk-pixbuf-private.h: don't incude "gdk-pixbuf-io.h". * gdk-pixbuf-csource.c: #define __GTK_H_INSIDE__ around including "../gtk/gtkversion.h". Ugly but needed in this special case. svn path=/trunk/; revision=20214
-
Michael Natterer authored
svn path=/trunk/; revision=20213
-
Michael Natterer authored
svn path=/trunk/; revision=20212
-
Michael Natterer authored
2008-05-28 Michael Natterer <mitch@gimp.org> * modules/other/gail/gailwidget.h: include <gtk/gtk.h> instead of <gtk/gtkaccessible.h> * modules/other/gail/*.h: don't include anyting from gtk since all headers indirectly include gailwidget.h. * modules/other/gail/gailcellparent.c: include <gtk/gtk.h> instead of individual files. * modules/other/gail/gailcheckmenuitem.c * modules/other/gail/gailmenu.c * modules/other/gail/gailtreeview.c: remove all gtk includes since it's always included by including any gail header. svn path=/trunk/; revision=20211
-
Michael Natterer authored
2008-05-28 Michael Natterer <mitch@gimp.org> * modules/printbackends/cups/gtkcupsutils.c * modules/printbackends/cups/gtkprintbackendcups.c * modules/printbackends/file/gtkprintbackendfile.c * modules/printbackends/lpr/gtkprintbackendlpr.c: include <gtk/gtk.h> instead of individual files. svn path=/trunk/; revision=20210
-
Michael Natterer authored
2008-05-28 Michael Natterer <mitch@imendio.com> * demos/testpixbuf.c: include <gdk-pixbuf/gdk-pixbuf.h> instead of individual files. svn path=/trunk/; revision=20209
-
Kristian Rietveld authored
2008-05-28 Kristian Rietveld <kris@imendio.com> Bug 498010 - gtk_tree_view_set_cursor fails if model!=NULL. * gtk/gtktreeview.c (gtk_tree_view_set_cursor_on_cell): return if fail ->priv->tree != NULL. Suggestion from Stefan Kost. svn path=/trunk/; revision=20208
-
Kristian Rietveld authored
svn path=/trunk/; revision=20207
-
Kristian Rietveld authored
2006-05-28 Kristian Rietveld <kris@imendio.com> Bug 324282 - add selected signal to cell renderer combo. * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init), (gtk_cell_renderer_combo_changed), (gtk_cell_renderer_combo_start_editing): add a new "changed" signal that will be emitted as soon as the combo box emitted changed and has an active iterator. (Modified patch based on work by James Pelletier). * gtk/gtkmarshalers.list: add marshaler. svn path=/trunk/; revision=20206
-
Kristian Rietveld authored
2008-05-28 Kristian Rietveld <kris@imendio.com> Refactor expand/collapse timeout handling (amendment to bug 511217). * gtk/gtktreeview.c (add_expand_collapse_timeout), (remove_expand_collapse_timeout): new functions, the remove function also clears expanded_collapsed_node, (cancel_arrow_animation): moved to be next to the add/remove timeout functions, (gtk_tree_view_unrealize), (gtk_tree_view_row_deleted), (gtk_tree_view_set_model), (cancel_arrow_animation), (gtk_tree_view_real_expand_row), (gtk_tree_view_real_collapse_row): use the new add/remove functions. svn path=/trunk/; revision=20205
-
Kristian Rietveld authored
2008-05-28 Kristian Rietveld <kris@imendio.com> Amendment of bug 485218 - Strange warning encountered. * gtk/gtktreemodelsort.[ch] (gtk_tree_model_sort_convert_child_iter_to_iter): return a boolean indication whether or not the conversion had succeeded. svn path=/trunk/; revision=20204
-
Matthias Clasen authored
* modules/printbackends/cups/gtkprintbackendcups.c (cups_printer_create_cairo_surface): Fall back to PostScript level 2 if the printer does not support level 3. Patch by Marek Kašík. svn path=/trunk/; revision=20203
-
Matthias Clasen authored
detail * gtk/gtkmenu.c (gtk_menu_paint): Use "menu_scroll_arrow_up/down" as detail when drawing scroll arrow backgrounds. Proposed by Tommi Komulainen. svn path=/trunk/; revision=20202
-
Matthias Clasen authored
* gtk/gtktreeview.c (cancel_arrow_animation): Reset expanded_collapsed_node when canceling the animation. Patch by Nicholas Setton. svn path=/trunk/; revision=20201
-
- 27 May, 2008 17 commits
-
-
Michael Natterer authored
2008-05-28 Michael Natterer <mitch@imendio.com> * modules/input/gtkimcontextime.h * modules/input/gtkimcontextmultipress.h * modules/input/gtkimcontextthai.h * modules/input/gtkimcontextxim.h: include <gtk/gtk.h> instead of individual files. * modules/input/gtkimcontextime.c * modules/input/gtkimcontextmultipress.c * modules/input/gtkimcontextxim.c * modules/input/imam-et.c * modules/input/imcedilla.c * modules/input/imcyrillic-translit.c * modules/input/iminuktitut.c * modules/input/imipa.c * modules/input/imti-er.c * modules/input/imti-et.c * modules/input/imviqr.c: ditto. Some minor cleanups like moving "gtk/gtkintl.h" to the end of includes. svn path=/trunk/; revision=20200
-
Michael Natterer authored
2008-05-28 Michael Natterer <mitch@imendio.com> * modules/engines/pixbuf/pixbuf-style.h * modules/engines/pixbuf/pixbuf-rc-style.h: include <gtk/gtk.h> instead of individual files. svn path=/trunk/; revision=20199
-
Matthias Clasen authored
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_inserted): (gtk_tree_model_sort_convert_child_iter_to_iter): (gtk_tree_model_sort_build_level): Better warnings. Patch by Kristian Rietveld. svn path=/trunk/; revision=20198
-
Matthias Clasen authored
svn path=/trunk/; revision=20197
-
Matthias Clasen authored
* gtk/gtkspinbutton.c (gtk_spin_button_real_value_change): Commit the entry text before doing an increment. Patch by Björn Lindqvist. svn path=/trunk/; revision=20196
-
Federico Mena Quintero authored
2008-05-27 Federico Mena Quintero <federico@novell.com> http://bugzilla.gnome.org/show_bug.cgi?id=533891 - Don't allow drag and drop from the file list into itself, as it doesn't make sense (it would just change the current folder). * gtk/gtkfilechooserdefault.c (file_list_dest_targets): Use GTK_TARGET_OTHER_WIDGET so we don't DnD from the file list into itself. Signed-off-by:
Federico Mena Quintero <federico@novell.com> svn path=/trunk/; revision=20194
-
Matthias Clasen authored
* gtk/tmpl/gtktooltips.sgml: Add a hint for what to use instead svn path=/trunk/; revision=20193
-
Tor Lillqvist authored
2008-05-27 Tor Lillqvist <tml@novell.com> * io-*.c: Use explicit G_MODULE_EXPORT decoration when building the loader in question as a module. * gdk-pixbuf-io.c: Enable included build of the icns and jasper loaders. svn path=/trunk/; revision=20192
-
Michael Natterer authored
2008-05-27 Michael Natterer <mitch@imendio.com> * gtk/gtksignal.h: move deprecated guards around everything, including includes and include guards (just as in all other deprecated files). svn path=/trunk/; revision=20191
-
Tor Lillqvist authored
2008-05-27 Tor Lillqvist <tml@novell.com> * gtk/updateiconcache.c (build_cache): Use simpler mode for open() on Windows. (No S_I?GRP and S_I?OTH bits are defined in <sys/stat.h> on Windows, and the mode used in open() doesn't matter much as there are no rwxrwxrwx bits on Windows anyway.) Open file in binary mode. Passing "b" to fdopen() later isn't enough. svn path=/trunk/; revision=20190
-
Michael Natterer authored
2008-05-27 Michael Natterer <mitch@imendio.com> * gdk-pixbuf.c: put back the #define, but call it GDK_PIXBUF_C_COMPILATION. * gdk-pixbuf-features.h.in: make variable export depend on that define instead of GDK_PIXBUF_COMPILATION. svn path=/trunk/; revision=20189
-
Michael Natterer authored
2008-05-27 Michael Natterer <mitch@imendio.com> Fix and simplify definition of GDK_PIXBUF_VAR: * Makefile.am: add -DGDK_PIXBUF_COMPILATION to INCLUDES. * gdk-pixbuf.c: don't #define it here. Remove GDK_PIXBUF_VAR from the definition of the version variables. * gdk-pixbuf-features.h.in: in the !G_PLATFORM_WIN32 case, always define GDK_PIXBUF_VAR to "extern". Remove redundant #ifndef GDK_PIXBUF_VAR around the whole block, the header itself already has include guards. svn path=/trunk/; revision=20188
-
10:33:41 Tim Janik authored
2008-05-27 10:33:41 Tim Janik <timj@imendio.com> * gtk/gtkwidget.c: guard gtk_widget_get_snapshot() against invalid or invisible widgets. svn path=/trunk/; revision=20187
-
Matthias Clasen authored
* gtk/gtkprintunixdialog.c: Disconnect signal handlers when the dialog closes. Patch by Yevgen Muntyan. svn path=/trunk/; revision=20186
-
Matthias Clasen authored
* modules/printbackends/cups/gtkprintbackendcups.c (gtk_print_backend_cups_print_stream): Specify the right server. svn path=/trunk/; revision=20185
-
Carlos Garnacho authored
2008-05-27 Carlos Garnacho <carlos@imendio.com> * gtk/gtkfilechooserdefault.c (set_select_multiple): Enable rubberbanding when "select-multiple" is TRUE. Bug #446068. svn path=/trunk/; revision=20184
-
Carlos Garnacho authored
2008-05-27 Carlos Garnacho <carlos@imendio.com> * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): Enable correctly dialog buttons sensitivity when the anonymous option is enabled by default. Bug #531865. svn path=/trunk/; revision=20183
-