1. 23 Aug, 2001 1 commit
    • Owen Taylor's avatar
      [ Patch from Sebastian Wilhelmi, 52790 ] · a2d60d44
      Owen Taylor authored
      Wed Aug 22 19:15:39 2001  Owen Taylor  <otaylor@redhat.com>
      
      	[ Patch from Sebastian Wilhelmi, 52790 ]
      
      	* gtk/gtkversion.h.in gtk/gtk.h: New file replacing gtkcompat.h
      
      	* gdk/gdkcompat.h gdk/gdk*.h gtk/gtkcompat.h.in gtk/gtk*.h:
      	Move compatibility macros from g[dt]kcompat.h to within
      	#ifndef G[DT]K_DISABLE_DEPRECATED in each file.
      
      	* gdk/gdk-pixbuf-csource.c: Fix up include of gtkcompat.h.
      
      	* demos/Makefile.am demos/gtk-demo/Makefile.am
                docs/reference/gdk-pixbuf/Makefile.am modules/input/Makefile.am
                tests/Makefile.am: Remove references to -G[DT]K_DISABLE_DEPRECATED.
      
      	* demos/{pixbuf-demo.c,testpixbuf-drawable.c,testpixbuf-save.c,
                       testpixbuf.c}: Fix usages of deprecated functions.
      a2d60d44
  2. 24 Jun, 2001 1 commit
    • Owen Taylor's avatar
      Fix stupid error introduced last night that was making things decidedly · cc223eef
      Owen Taylor authored
      Sun Jun 24 11:29:35 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/x11/gdkimage-x11.c (gdk_image_new): Fix stupid error
      	introduced last night that was making things decidedly not work.
      
      	* gtk/*.[ch]: Patch from Kristian Rietveld adding 80 getters
      	so that we have getter/setter pairing everywhere it makes
      	sense. (#55767)
      
      	* gtk/gtkradiobutton.[ch] gtk/gtktoolbar.c tests/testgtk.:
      	Rename gtk_radio_button_group to gtk_radio_button_get_group, add a
      	deprecated compat macro. (#55516)
      
      	* gtk/gtklabel.[ch]: Add functions
      	gtk_label_set/get_use_underline(), gtk_label_set/get_use_markup(),
      	gtk_label_set_label(), which mirror the property API for GtkLabel.
      	Make gtk_label_get_attributes() only reflect the attributes
      	set by gtk_label_set_attributes.
      
      	* gtk/gtknotebook.c (gtk_notebook_set_current_page) gtk/gtkcompat.h: Rename
      	from gtk_notebook_set_page().
      cc223eef
  3. 05 Jun, 2001 1 commit
    • Havoc Pennington's avatar
      Use new mnemonic convenience functions · 8fd5c30b
      Havoc Pennington authored
      2001-06-05  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkcolorsel.c: Use new mnemonic convenience functions
      
      	Applying patch from Jeff Franks, with function docs added.
      
      	* gtk/gtkcheckbutton.c (gtk_check_button_new_with_mnemonic):
      	remove call to set_mnemonic_widget, change docs a bit.
      
      	* gtk/gtkimagemenuitem.c (gtk_image_menu_item_new_with_mnemonic):
      	new function
      
      	* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_new_with_mnemonic):
      	new function
      
      	* gtk/gtkmenuitem.c (gtk_menu_item_new_with_mnemonic): new function
      
      	* gtk/gtkradiobutton.c (gtk_radio_button_new_with_mnemonic): new
      	function
      	(gtk_radio_button_new_with_mnemonic_from_widget): new function
      
      	* gtk/gtkradiomenuitem.c (gtk_radio_menu_item_new_with_mnemonic):
      	new function
      
      	* gtk/gtktogglebutton.c (gtk_toggle_button_new_with_mnemonic): new
      	function
      
      	* gtk/gtklabel.c (gtk_label_new_with_mnemonic): Improve docs on
      	auto-selection of mnemonic widget.
      8fd5c30b
  4. 19 Feb, 2001 1 commit
    • Havoc Pennington's avatar
      test was backward, so deprecated functions were excluded by default · f4fa22da
      Havoc Pennington authored
      2001-02-19  Havoc Pennington  <hp@redhat.com>
      
      	* gdk/gdkcolor.h: test was backward, so deprecated functions were
      	excluded by default
      
      	* gtk/gtkstyle.c (gtk_default_draw_diamond): draw etched in/out,
      	clean up the old code a bit
      
      	* gtk/gtkradiobutton.c (gtk_radio_button_draw_indicator): draw
      	inconsistent state
      
      	* gtk/gtkradiomenuitem.c (gtk_radio_menu_item_draw_indicator):
      	draw inconsistent state
      
      	* gtk/testgtk.c (create_toggle_buttons): add test for inconsistent
      	(create_menu): add inconsistent test
      
      	* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_set_inconsistent):
      	new function
      	(gtk_check_menu_item_get_inconsistent): new function
      	(gtk_real_check_menu_item_draw_indicator): draw the inconsistent
      	state (using etched in for now)
      
      	* gtk/gtkcheckbutton.c (gtk_real_check_button_draw_indicator):
      	draw inconsistent state
      
      	* gtk/gtktogglebutton.c (gtk_toggle_button_set_inconsistent): new
      	function, used when the user has selected a range of stuff in
      	different states
      	(gtk_toggle_button_get_inconsistent): accessor for that
      	(gtk_toggle_button_paint): draw inconsistent state (etched in?
      	don't know what else to do)
      f4fa22da
  5. 30 Aug, 2000 1 commit
  6. 26 Jul, 2000 1 commit
  7. 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
  8. 24 Feb, 1999 1 commit
  9. 21 Jan, 1999 1 commit
    • Jeff Garzik's avatar
      . Free 'nprefix', closing a memory leak. Spaced out the code a bit to make · 6e3e247b
      Jeff Garzik authored
      .
              * gtk/gtkcombo.c (gtk_combo_entry_key_press):
              Free 'nprefix', closing a memory leak.
              Spaced out the code a bit to make it more readable.
      
              * gtk/gtkhbox.[ch] (gtk_hbox_new),
                gtk/gtkvbox.[ch] (gtk_vbox_new):
              Change 'homogenous' arg from gint to gboolean.
      
              * gtk/gtktogglebutton.[ch]:
              New function gtk_toggle_button_get_active().
      6e3e247b
  10. 11 Jan, 1999 1 commit
    • Tim Janik's avatar
      eliminated some queue_draws when invoking gtk_widget_set_state, since that · d2e69a89
      Tim Janik authored
      Mon Jan 11 15:23:32 1999  Tim Janik  <timj@gtk.org>
      
              * gtk/gtktogglebutton.c: eliminated some queue_draws when invoking
              gtk_widget_set_state, since that cares about redrawing already.
              some code cleanups.
      
              * gtk/gtktogglebutton.[hc]:
              * gtk/gtkfontsel.c:
              * gtkgamma.c:
              s/gtk_toggle_button_set_state/gtk_toggle_button_set_active/ since
              set_state is already taken by gtkwidget.h.
      
              * gtk/gtkcompat.h: #define gtk_toggle_button_set_state
              gtk_toggle_button_set_active.
      
              * gtk/gtkstyle.c: some indentation cleanups.
      d2e69a89
  11. 06 Nov, 1998 1 commit
  12. 16 Jun, 1998 1 commit
  13. 13 Apr, 1998 1 commit
  14. 24 Nov, 1997 1 commit