1. 14 Jul, 2015 1 commit
    • Lars Uebernickel's avatar
      GtkButtonBox: remove spacing when buttons are linked · 2dda89cb
      Lars Uebernickel authored
      GtkButtonBox adds the "linked" class to its style context when its
      layout is set to GTK_BUTTONBOX_EXPAND. It shouldn't ever make sense to
      have spacing between buttons in that case, as themes generally draw
      linked elements with a continuous border.
      
      Thus, always set spacing to 0 and ignore GtkDialog's button-spacing
      style property when the layout is set to EXPAND.
      
      Also remove the now-redundant css rules which set button-spacing to 0
      for message dialogs.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=752131
      2dda89cb
  2. 20 May, 2014 1 commit
  3. 20 Jan, 2014 1 commit
  4. 05 May, 2013 1 commit
  5. 28 Dec, 2012 1 commit
  6. 27 Feb, 2012 2 commits
    • Javier Jardon's avatar
      Change FSF Address · 9d0febc9
      Javier Jardon authored
      9d0febc9
    • Matthias Clasen's avatar
      gtk: Use versioned deprecations · 2c25bd85
      Matthias Clasen authored
      This patch changes all uses of GDK_DEPRECATED(_FOR) in gtk headers
      by the versioned variants, GDK_DEPRECATED_IN_3_x(_FOR). At the same
      time, we add GDK_AVAILABLE_IN_3_x annotations for all API additions
      in 3.2 and 3.4.
      2c25bd85
  7. 05 May, 2011 1 commit
  8. 25 Jan, 2011 1 commit
    • Michael Natterer's avatar
      gtk: add missing class padding · 3933f99e
      Michael Natterer authored
      Sorry for this late ABI break, but the newly added style classes
      definitely need padding, so I can just as well add missing padding
      globally.
      3933f99e
  9. 27 Aug, 2010 1 commit
  10. 17 Aug, 2010 1 commit
  11. 13 Aug, 2010 1 commit
    • Matthias Clasen's avatar
      Remove some leftovers of deprecated functionality · 6334d13d
      Matthias Clasen authored
      There were some vestiges of the gtk_{h,v}button_box_set_default_layout()
      functionality left. These are gone now. I have also removed
      the GTK_BUTTONBOX_DEFAULT value in GtkButtonBoxStyle, but the other
      values have been kept at their numeric values, to avoid more serious
      ABI change.
      6334d13d
  12. 13 Jul, 2010 1 commit
  13. 25 May, 2010 1 commit
  14. 02 May, 2010 2 commits
  15. 28 Apr, 2010 1 commit
  16. 01 Jul, 2008 1 commit
  17. 30 Jun, 2008 1 commit
    • Cody Russell's avatar
      Practically everything changed. · fce9c8b7
      Cody Russell authored
      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
      fce9c8b7
  18. 20 Jun, 2008 1 commit
  19. 28 May, 2008 2 commits
    • Michael Natterer's avatar
      whitespace cleanup: remove trailing whitespace and excess newlines and · 2c5f8a5c
      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
      2c5f8a5c
    • Michael Natterer's avatar
      define __GTK_H_INSIDE__ around including all other headers. · eff99c28
      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
      eff99c28
  20. 20 Mar, 2005 1 commit
    • Matthias Clasen's avatar
      Make PLT-reduction work with gcc4, and don't include everything in · cca8dd63
      Matthias Clasen authored
      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.
      cca8dd63
  21. 18 Jul, 2003 1 commit
    • Matthias Clasen's avatar
      New function. (#64562) · 1fd4cd2f
      Matthias Clasen authored
      2003-07-19  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkbbox.h:
      	* gtk/gtkbbox.c (gtk_button_box_get_child_secondary): New function. (#64562)
      1fd4cd2f
  22. 04 Oct, 2002 1 commit
    • Manish Singh's avatar
      Deprecation cleanup · 2aa89914
      Manish Singh authored
      Fri Oct  4 15:47:06 2002  Manish Singh  <yosh@gimp.org>
      
              * gtkbbox.[ch] gtkhbbox.[ch] gtkhscale.[ch] gtkscale.[ch]
              gtkvscale.[ch] gtkvbbox.[ch]: Deprecation cleanup
      2aa89914
  23. 12 Jul, 2001 1 commit
  24. 06 Jul, 2001 1 commit
    • Owen Taylor's avatar
      Patch from Gregory Merchan to add gtk_button_box_set_secondary(), which · 0b6c3f54
      Owen Taylor authored
      Thu Jul  5 21:53:46 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkbbox.[ch] gtk/gtkbox.[ch] gtk/gtk[hv]bbox.c:
      	Patch from Gregory Merchan to add
      	gtk_button_box_set_secondary(), which separates
      	the child into a separate group from the normal
      	buttons. (#56331)
      
      	* gtk/gtkdialog.c: Make help buttons secondary by
      	default.
      
      	* gtk/gtkbbox.c: Added a child property "secondary".
      
      	* gtk/testgtk.c: Turn on the help button for the
      	color selector to check that it properly appears
      	as secondary.
      0b6c3f54
  25. 07 Mar, 2001 1 commit
    • Havoc Pennington's avatar
      new function, turns off decorations for a window. · 9d1e2a13
      Havoc Pennington authored
      2001-03-07  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkwindow.c (gtk_window_set_decorated): new function, turns
      	off decorations for a window.
      
      	* demos/gtk-demo/button_box.c (create_bbox): adapt to button box
      	changes
      
      	* gtk/gtklabel.c (gtk_label_get_layout_offsets): new function
      	to get location of PangoLayout inside the label, closes #51198
      
      	* gtk/testgtk.c (create_bbox): fix up button box usage
      
      	* gtk/testcalendar.c (create_calendar): fix up button box usage
      
      	* gtk/gtkfilesel.c (gtk_file_selection_init): fixup buttonbox usage
      
      	* gtk/gtkdialog.c (gtk_dialog_init): fixup buttonbox usage
      
      	* gtk/gtkhbbox.h: deprecations
      
      	* gtk/gtkvbbox.h: deprecations
      
      	* gtk/gtkbox.c (gtk_box_get_spacing): new function, used to
      	emulate deprecated gtk_button_box_get_spacing
      
      	* gtk/gtkbbox.h: deprecate some useless functions, remove entirely
      	the "set global default" functions
      	(struct _GtkButtonBox): remove "spacing" field, use the one from
      	GtkBox base class
      
      	* gtk/gtkbbox.c (_gtk_button_box_child_requisition): rename with uscore
      
      	* gtk/gtkiconfactory.c (gtk_icon_set_render_icon): If we fail to
      	render the icon, return the missing image icon.
      
      	* gtk/gtkimage.c (gtk_image_set_from_file): fall back to missing
      	image icon if the load fails.
      
      	* gtk/gtkstock.h (GTK_STOCK_MISSING_IMAGE): Add stock icon for use
      	when no image is found; should be the Netscape "missing image"
      	icon eventually but for now is a random image
      
      	* gtk/gtkwindow.c (gtk_window_set_role): new function, sets the
      	role for the session manager
      
      	* gtk/testgtk.c (dnd_drop): remove use of GTK_WINDOW_DIALOG
      
      	* gtk/gtkcompat.h (GTK_WINDOW_DIALOG): compat #define
      	GTK_WINDOW_DIALOG GTK_WINDOW_TOPLEVEL
      
      	* gtk/gtkenums.h (enum GtkWindowType): remove GTK_WINDOW_DIALOG
      9d1e2a13
  26. 30 Aug, 2000 1 commit
  27. 26 Jul, 2000 1 commit
  28. 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
  29. 24 Feb, 1999 1 commit
  30. 07 Oct, 1998 1 commit
    • Tim Janik's avatar
      removed all occourances of #pragma } and #pragma { which were in place to · 3322a264
      Tim Janik authored
      Wed Oct  7 05:15:36 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtk*.h:
              * gdk/gdk.h: removed all occourances of #pragma } and #pragma {
              which were in place to fixup emacs' cc-mode indentation.
              putting (c-set-offset 'inextern-lang 0) into ~/.emacs is the
              proper way to achive this and doesn't produce problems for
              stupid pragma-related compiler bugs. ;)
      3322a264
  31. 07 Jun, 1998 1 commit
    • Tim Janik's avatar
      fixed an assertment. · a391196b
      Tim Janik authored
      Sat Jun  6 06:01:24 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtksignal.c (gtk_signal_emitv): fixed an assertment.
      
              * gtk/makeenums.awk: a script to generate the GtkEnumValue arrays from,
              this should eventually be done by gentypeinfo.el somewhen.
              * gtk/gtkenumvalues.c: new generated file to hold GtkEnumValue arrays.
      
              * gtk/gtktypeutils.h: new function gtk_enum_values() to retrive all the
              enum values of an enum type.
      
              * gtk/gtk.defs:
              * gtk/gtkcurve.h:
              * gtk/gtkobject.h:
              * gtk/gtkprivate.h:
              * gtk/gtkwidget.h:
              * gtk/gtkenums.h:
              brought enum/flags definitions in sync, added a few more enum
              definitions for bindings and pattern matching.
      
              * some more macro and GtkType fixups in various places.
      
              * gdk/gdktypes.h (enum): added a new value GDK_AFTER_MASK, which is used
              as a key-release modifier for the binding system.
      
      Fri Jun  5 06:06:06 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkmenu.h (struct _GtkMenu): removed GList*children, since it
              was a stale list pointer that is already present in GtkMenuShell.
      
              * gtk/gtkmenushell.h (struct _GtkMenuShellClass): added a signal
              GtkMenuShell::selection_done which is emitted after the menu shell
              poped down again and all possible menu items have been activated.
      
      Thu Jun  4 02:20:42 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkmenushell.c (gtk_menu_shell_button_release): flush the x-queue
              before activation of the menuitem, so the menu is actually taken off the
              screen prior to any menu item activation.
      
              * gtk/gtkctree.c (gtk_ctree_get_row_data): allow function invokation
              for NULL nodes.
      
              * gtk/gtkwidget.h:
              * gtk/gtkwidget.c: new function gtk_widget_stop_accelerator to stop
              the emission of the "add-accelerator" signal on a widget. this is
              usefull to prevent accelerator installation on certain widgets.
      
              * gtk/gtknotebook.c (gtk_notebook_menu_item_create): keep the menu
              labels left justified, by setting their alignment. stop accelerator
              installation for the menu items, since we use dynamic menus.
      
      Wed Jun  3 06:41:22 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkmenufactory.c: adaptions to use the new accel groups. people
              should *really* use GtkItemFactory. this is only for preserving source
              compatibility where possible, use of GtkMenuFactory is deprecated as of
              now.
      
              * gtk/gtkobject.h (gtk_object_class_add_user_signal): new function
              to create user signals of type GTK_RUN_NO_RECURSE. don't know why i
              missed this possibility when i added gtk_object_class_add_user_signal
              in late january.
      
              * gtk/gtkmain.c (gtk_init): ignore subsequent function calls.
      
      Sun May 31 07:31:09 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkaccelgroup.h:
              * gtk/gtkaccelgroup.c: new implementation of the accelerator concept.
      
              * gtk/gtkaccellabel.h:
              * gtk/gtkaccellabel.c: new widget derived from GtkLabel whitch features
              display of the accelerators associated with a certain widget.
      
              * gtk/gtkitemfactory.h:
              * gtk/gtkitemfactory.c: new widget, item factory with automatic rc
              parsing and accelerator handling.
      
              * gtk/gtkmenu.c (gtk_menu_reposition): new function to care for
              positioning a menu.
              (gtk_menu_map): removed the allocation code.
              (gtk_menu_size_allocate): care for redrawing of children and resize
              our widget->window correctly.
              (gtk_menu_key_press): feature the new accelerator groups.
      
              * gtk/gtkmenuitem.c (gtk_menu_item_size_allocate): reposition the
              submenu if neccessary.
      
              * gtk/gtkmenuitem.c:
              * gtk/gtkcheckmenuitem.c:
              * gtk/gtkradiomenuitem.c: use GtkAccelLabel in the *_new_with_label()
              function variants.
      
              * gdk/gdk.c:
              (gdk_keyval_from_name):
              (gdk_keyval_name): new functions for keyval<->key-name associations.
              (gdk_keyval_to_upper):
              (gdk_keyval_to_lower):
              (gdk_keyval_is_upper):
              (gdk_keyval_is_lower): new functions to check/translate keyvalues with
              regards to their cases.
      
      Wed May 27 00:48:10 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkwidget.c (gtk_widget_class_path): new function to calculate a
              widget's class path.
              (gtk_widget_path): new function to calculate a widget's name path.
      
              * gtk/gtkrc.c: newly introduced GtkPatternSpec structures to speed up
              pattern matching, features reversed pattern matches.
      a391196b
  32. 12 May, 1998 1 commit
    • Owen Taylor's avatar
      (James A <jamesa@demon.net> : gtk-jamesa-980511-4.patch) · c9e78a10
      Owen Taylor authored
      Tue May 12 16:54:15 1998  Owen Taylor  <otaylor@gtk.org>
      	(James A <jamesa@demon.net> : gtk-jamesa-980511-4.patch)
      
      	* glib.h gstring.c gmessages.c: Added some missing
      	const to arguments.
      
      	* gutils.c (g_strsignal.c): Added missing return statements.
      
      Tue May 12 16:56:35 1998  Owen Taylor  <otaylor@gtk.org>
      	(James A <jamesa@demon.net> : gtk-jamesa-980511-4.patch)
      
      	* gtk/gtkbbox.h gtk/gtkcolorsel.h gtk/gtkvbbox.h:
      	Changed #include "gtkfoo.h" to #include <gtk/gtkfoo.h>
      
      	* gtk/gtkwindow.[ch]: Added const to gtk_window_set_wmclass
      
      Tue May 12 15:16:10 1998  Owen Taylor  <otaylor@gtk.org>
      	(From: Christopher James Lahey <clahey@umich.edu>)
      
      	* gtk/gtkbutton.[ch] gtk/gtkenums.h gtk/gtktoolbar.[ch]
      	  gtk/testgtk.c:
      
      	Added 'relief' for buttons - they can be either GTK_RELIEF_NORMAL
      	(old style), or GTK_RELIEF_NONE - no relief in the NORMAL
      	state. Added gtk_toolbar_{set,get}_button_relief, which set/get
      	the default relief for the toolbars buttons. Added an
      	toggle for the toolbar test in testgtk.c.
      c9e78a10
  33. 13 Apr, 1998 1 commit
  34. 25 Feb, 1998 1 commit
    • Owen Taylor's avatar
      Move layout constants into an enumeration, split GTK_BUTTONBOX_DEFAULT · 77715991
      Owen Taylor authored
      Wed Feb 25 13:18:53 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtkbbox.[ch] gtk/gtkhbox.[ch] gtk/gtkvbox.[ch] :
      
      	Move layout constants into an enumeration, split
      	GTK_BUTTONBOX_DEFAULT into GTK_BUTTONBOX_DEFAULT
      	and GTK_BUTTONBOX_DEFAULT_STYLE (enumeration member).
      
      	* gtk/gtkclist.c:
      
      	Renamed gtk_clist_row_isvisable to .._is_visible
      
      	From: Maciej Stachowiak <mstachow@mit.edu>
      77715991
  35. 24 Nov, 1997 1 commit