1. 02 Sep, 2011 1 commit
    • Matthias Clasen's avatar
      Formatting cleanups · 1204a850
      Matthias Clasen authored
      While we normally try to avoid whitespace fixes, the gtk-demo
      code is shown as exemplary, so it should be in good shape,
      formatting-wise.
      1204a850
  2. 27 Sep, 2010 1 commit
  3. 26 Sep, 2010 1 commit
  4. 26 Jul, 2010 1 commit
  5. 04 Apr, 2010 1 commit
  6. 01 Mar, 2010 1 commit
  7. 11 Aug, 2008 1 commit
    • Sven Neumann's avatar
      demos/gtk-demo/changedisplay.c demos/gtk-demo/clipboard.c · 092187e9
      Sven Neumann authored
      2008-08-11  Sven Neumann  <sven@gimp.org>
      
      	* demos/gtk-demo/changedisplay.c
      	* demos/gtk-demo/clipboard.c
      	* demos/gtk-demo/drawingarea.c
      	* demos/gtk-demo/iconview.c
      	* demos/gtk-demo/images.c
      	* demos/gtk-demo/pixbufs.c: use canonical signal names in the 
      demos.
      
      
      svn path=/trunk/; revision=21074
      092187e9
  8. 06 Jul, 2008 1 commit
  9. 22 Dec, 2006 1 commit
  10. 25 Sep, 2006 1 commit
  11. 16 Nov, 2004 1 commit
  12. 22 Sep, 2004 1 commit
    • Matthias Clasen's avatar
      Don't leak the frame pixbuf. · ac038c3e
      Matthias Clasen authored
      Wed Sep 22 00:52:44 2004  Matthias Clasen  <mclasen@redhat.com>
      
      	* demos/gtk-demo/pixbufs.c (do_pixbufs): Don't leak the frame
      	pixbuf.
      ac038c3e
  13. 08 Nov, 2003 1 commit
    • Matthias Clasen's avatar
      Call the do_ functions with the toplevel as argument. · 9c0bc41a
      Matthias Clasen authored
      Sat Nov  8 23:06:02 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* demos/gtk-demo/main.c (row_activated_cb): Call the do_
      	functions with the toplevel as argument.
      
      	* demos/gtk-demo/geninclude.pl.in: Change the signature
      	of GDoDemoFunc to take a widget argument
      
      	* demos/gtk-demo/ui_manager.c (do_ui_manager):
      	* demos/gtk-demo/tree_store.c (do_tree_store):
      	* demos/gtk-demo/textview.c (do_textview):
      	* demos/gtk-demo/stock_browser.c (do_stock_browser):
      	* demos/gtk-demo/sizegroup.c (do_sizegroup):
      	* demos/gtk-demo/pixbufs.c (do_pixbufs):
      	* demos/gtk-demo/panes.c (do_panes):
      	* demos/gtk-demo/menus.c (do_menus):
      	* demos/gtk-demo/list_store.c (do_list_store):
      	* demos/gtk-demo/images.c (do_images):
      	* demos/gtk-demo/hypertext.c (do_hypertext):
      	* demos/gtk-demo/editable_cells.c (do_editable_cells):
      	* demos/gtk-demo/drawingarea.c (do_drawingarea):
      	* demos/gtk-demo/dialog.c (do_dialog):
      	* demos/gtk-demo/colorsel.c (do_colorsel):
      	* demos/gtk-demo/changedisplay.c (do_changedisplay):
      	* demos/gtk-demo/button_box.c (do_button_box):
      	* demos/gtk-demo/appwindow.c (do_appwindow): Take a widget
      	as argument, and make new windows or dialogs appear on the
      	same screen.  (#80388)
      9c0bc41a
  14. 01 Feb, 2003 1 commit
  15. 25 Nov, 2001 1 commit
    • Tor Lillqvist's avatar
      demos/pixbuf-demo.c M_PI -> G_PI. · 9a60bfac
      Tor Lillqvist authored
      2001-11-26  Tor Lillqvist  <tml@iki.fi>
      
      	* demos/pixbuf-demo.c
      	* demos/gtk-demo/pixbufs.c: M_PI -> G_PI.
      
      	* demos/gtk-demo/main.c (read_line): No flockfile() or
      	getc_unlocked() on Win32.
      
      2001-11-25  Tor Lillqvist  <tml@iki.fi>
      
      	* configure.in
      	* acconfig.h: As we now use GDir, no need to check for dirent.h.
      9a60bfac
  16. 23 Nov, 2001 1 commit
    • Owen Taylor's avatar
      Version 1.3.11 Require GLib-1.3.11, Pango-0.22, ATK-0.7. Restore to · 2936c8e9
      Owen Taylor authored
      Thu Nov 22 15:01:03 2001  Owen Taylor  <otaylor@redhat.com>
              * Version 1.3.11
              * configure.in (ATK_REQUIRED_VERSION): Require
              GLib-1.3.11, Pango-0.22, ATK-0.7.
              * tests/prop-editor.c (property_widget): Restore
              to working as well as it did before.
              * gtk/gtklistitem.h: Mark deprecated since it is
              an integral part of GtkList.
              * demos/gtk-demo/demo-common.h: New header file,
              for a common functions not important to the meat
              of the demos.
      
              * demos/gtk-demo/main.c (demo_ifind_file): Add a utility
              function to search for a file used by the demo.
              * demos/*.c: Use demo_find_file.
      2936c8e9
  17. 20 Oct, 2001 1 commit
  18. 10 Aug, 2001 1 commit
    • Havoc Pennington's avatar
      fix a typo. · f37a0627
      Havoc Pennington authored
      2001-08-07  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtkfilesel.c (open_ref_dir): fix a typo.
      
      	* gtk/gtkplug.c (gtk_plug_init): remove setting of auto_shrink;
      	some fixage is needed here, but nothing simple. Owen understands
      	it. ;-)
      
              * gtk/gtkwindow.h, gtk/gtkwindow.c: Rework code and API for window
      	sizing and positioning.  Also, fix bug in compute_geometry_hints
      	(width/height confusion for setting min size).
      	(gtk_window_move): new function
      	(gtk_window_resize): new function
      	(gtk_window_get_size): new function
      	(gtk_window_get_position): new function
      	(gtk_window_parse_geometry): new function
      
       	* gtk/gtkwidget.c (gtk_widget_set_size_request): new function
       	(gtk_widget_get_size_request): new function
       	(gtk_widget_get_usize): delete, that was a short-lived function
       	;-)
       	(gtk_widget_set_usize): deprecate
       	(gtk_widget_set_uposition): deprecate, make it a trivial
      	gtk_window_move() wrapper
      	(gtk_widget_class_init): remove x/y/width/height properties,
      	add width_request height_request
      
              * demos/*: update to avoid deprecated functions
      
      	* gtk/gtklayout.c: add x/y child properties
      
      	* gtk/gtkfixed.c: add x/y child properties, and get rid of
      	uses of "gint16"
      
      	* tests/testgtk.c (create_window_sizing): lots of tweaks to window
      	sizing test
      
      	* gdk/x11/gdkevents-x11.c (gdk_event_translate): Ensure that
      	configure events on toplevel windows are always in root window
      	coordinates, following ICCCM spec that all synthetic events
      	are in root window coords already, while real events are
      	in parent window coords. Previously the code assumed that
      	coords of 0,0 were parent window coords, which was
      	really broken.
      
       	* gtk/gtkcontainer.c (gtk_container_get_focus_chain): fix
       	warning
      
       	* gdk/gdkwindow.h (GdkWindowHints): add GDK_HINT_USER_POS
       	and GDK_HINT_USER_SIZE so we can set USSize and USPosition
       	hints in gtk_window_parse_geometry()
      
       	* gdk/x11/gdkwindow-x11.c (gdk_window_set_geometry_hints): support
       	new USER_POS USER_SIZE hints
      f37a0627
  19. 25 Jun, 2001 1 commit
    • Havoc Pennington's avatar
      s/RESIZEABLE/RESIZABLE/ · 0e0ee24b
      Havoc Pennington authored
      2001-06-25  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktreeviewcolumn.h, gtk/gtktreeviewcolumn.c:
      	s/RESIZEABLE/RESIZABLE/
      
      	* gtk/gtkwindow.c, gtk/gtkwindow.h: s/resizeable/resizable/
      0e0ee24b
  20. 18 May, 2001 2 commits
    • Owen Taylor's avatar
      Remove reallocate-redraws property. This is something that only a widget · 50512ddc
      Owen Taylor authored
      Fri May 18 14:25:20 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkcontainer.c: Remove reallocate-redraws property.
      	This is something that only a widget writer would ever want
      	to change.
      
      	* gtk/gtksignal.c: Handle G_SIGNAL_TYPE_STATIC_SCOPE for
      	gtk_signal_emit_by_name().
      
      	* gtk/gtkviewport.c: Fix some warnings.
      
      	* gtk/gtkwidget.c gtk/gtksizegroup.c: Add "size group" facility
      	allowing the requisitions of multiple widgets to be grouped
      	together.
      
      	* tests/testgtk.c: Add GtkSizeGroup test
      
      	* demos/gtk-demo/sizegroup.c: Add GtkSizeGroup demo.
      
      	* demos/gtk-demo/main.c demos/gtk-demo/pixbufs.c: Fix some
      	warnings.
      
      	* configure.in: Switch to using AM_GLIB_GNU_GETTEXT.
      50512ddc
    • Jonathan Blandford's avatar
      It's the worlds ugliest highlighting code!!!! The result is okay so long · 009212ad
      Jonathan Blandford authored
      Thu May 17 16:20:04 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* demos/gtk-demo/main.c (fontify): It's the worlds ugliest
      	highlighting code!!!!  The result is okay so long as you don't try
      	to stress it.  It also highlights a bug in the TextView so it's in
      	an unproportional font right now until it's fixed.
      
      	*demos/gtk-demo/*.c: Clean up code a bit to make it
      	ugly-parser(TM) friendly. (-:
      009212ad
  21. 18 Apr, 2001 1 commit
    • Havoc Pennington's avatar
      fix to properly queue resizes when the image is set · 60b6a010
      Havoc Pennington authored
      2001-04-18  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkimage.c: fix to properly queue resizes when the image is
      	set
      
      	* gtk/gtktextview.c (gtk_text_view_do_popup): desensitize Paste
      	if the insertion point isn't editable
      
      	* demos/gtk-demo/images.c: Added a GtkImage demo
      
      	* demos/gtk-demo/drawingarea.c: drawing area demo
      
      	* demos/gtk-demo/menus.c (create_menu): cleanups
      
      2001-04-18  Havoc Pennington  <hp@redhat.com>
      
      	* gdk-pixbuf.c (gdk_pixbuf_fill): Function to fill pixbuf with a
      	given color.
      60b6a010