1. 10 Oct, 2002 1 commit
    • Manish Singh's avatar
      Deprecation cleanup · 28bc5303
      Manish Singh authored
      Wed Oct  9 17:40:13 2002  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtkaccelmap.c gtk/gtkfixed.[ch] gtk/gtkkeyhash.c gtk/gtkmenu.c
              gtk/gtkobject.c gtk/gtkoldeditable.c gtk/gtkrc.c gtk/gtkspinbutton.[ch]
              gtk/gtktable.[ch] gtk/gtkthemes.c: Deprecation cleanup
      28bc5303
  2. 19 Nov, 2001 1 commit
    • Owen Taylor's avatar
      (Fixes related to #64428, Michael Meeks) · 0e8a7fb4
      Owen Taylor authored
      Mon Nov 19 17:11:23 2001  Owen Taylor  <otaylor@redhat.com>
      
      	(Fixes related to #64428, Michael Meeks)
      
      	* gtk/gtkplug.c (gtk_plug_set_is_child): Unmap the
      	widget, so it gets mapped again properly when we
      	add to a parent.
      
      	* gtk/gtkplug.c (_gtk_plug_add_to_socket): Set
      	plug->socket_window.
      
      	* gtk/gtkplug.c (_gtk_plug_remove_from_socket): Set
      	socket_window to NULL, not FALSE.
      0e8a7fb4
  3. 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
  4. 30 Aug, 2000 1 commit
  5. 26 Jul, 2000 1 commit
  6. 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
  7. 24 Feb, 1999 1 commit
  8. 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
  9. 03 Sep, 1998 1 commit
    • Tim Janik's avatar
      GTK_MENU_DIR_CHILD: check for the existance of · 698c89e5
      Tim Janik authored
      Thu Sep  3 04:22:20 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current):
              GTK_MENU_DIR_CHILD: check for the existance of
              menu_shell->active_menu_item before accessing its child.
              GTK_MENU_DIR_PREV:
              GTK_MENU_DIR_NEXT: if we haven't had an active item and still
              don't, make a default selection.
      
      Wed Sep  2 00:28:58 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkwidget.c (gtk_widget_propagate_state): iterate
              the children with _forall for sensitivity changes and with
              _foreach on pure state changes. this fixes a lot of the
              old inclusions of internal widgets into _foreach calls.
      
              * gtk/gtktree.c: removed gtk_tree_foreach, let gtk_tree_forall
              do the work. don't walk the subtrees of first level children.
      
              * gtk/gtktreeitem.c: provide a _forall implementation,
              which walks the subtrees as well for include_internals.
      
              * gtk/gtkmenuitem.c: provide a _forall implementation, which walks
              the submenus as well for include_internals.
      
              * gtk/gtkscrolledwindow.c: removed gtk_scrolled_window_foreach and
              implemented gtk_scrolled_window_forall, which will iterate over
              the viewport and the scrollbars for gtk_container_forall or
              iterate over the viewports children for gtk_container_foreach.
      
              * gtk/gtktoolbar.c:
              * gtk/gtktable.c:
              * gtk/gtkpaned.c:
              * gtk/gtkpacker.c:
              * gtk/gtkmenushell.c:
              * gtk/gtklist.c:
              * gtk/gtkfixed.c:
              * gtk/gtkclist.c:
              * gtk/gtkbox.c:
              * gtk/gtkbin.c:
              * gtk/gtknotebook.c:
              removed the old gtk_*_foreach functions and provided gtk_*_forall.
      
              * gtk/gtknotebook.c:
              (gtk_notebook_real_switch_page): expose tabs.
              (gtk_notebook_page_num): new function to return the page number
              of a distinct child.
              (gtk_notebook_focus): minor fixups. foxus handling is still screwed
              under some circumstances.
      
              * gtk/gtktreeitem.c:
              (gtk_real_tree_item_select):
              (gtk_real_tree_item_deselect): major fixes.
              some general fixups wrt queue_redraw, and tree items not being
              NO_WINDOW widgets.
      
              * gtk/gtklistitem.c:
              (gtk_real_list_item_select):
              (gtk_real_list_item_deselect):
              (gtk_real_list_item_toggle):
              removed unneccessary queue_redraw calls.
      
      Wed Aug 30 09:42:07 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkoptionmenu.c: allow optionmenus to have the focus and
              automatically popup the menu on space bar.
      
      Wed Aug 26 06:40:34 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkcontainer.h:
              * gtk/gtkcontainer.c: implemented gtk_container_forall() (as a class
              method), which acts similar to gtk_container_foreach(), but iterates
              over internal children. the GtkContainer::foreach signal vanished in
              favour of a new class method ->forall() that optionally includes
              internal widgets.
      
              * gtk/gtkclist.c (gtk_clist_init): provide no _foreach implementation
              but a _forall implementation, since all child widgets we have are
              internal ones.
              (column_button_create): set the parent window prior
              to gtk_widget_set_parent().
      
              * gtk/gtkwidget.c:
              exchanged all calls to gtk_container_foreach() with
              gtk_container_forall().
      
              * gtk/gtkwidget.h:
              * gtk/gtkwidget.c: added the GTK_COMPOSITE_CHILD, exported through
              the GtkWidget::composite_child argument. to have a widget created
              with the flag initially, two new functions got added to wrap a widgets
              creation:
              gtk_widget_push_composite_flag() and gtk_widget_pop_composite_flag().
      
      Wed Aug 25 23:37:39 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtktooltips.h:
              * gtk/gtktooltips.c: exported gtk_tooltips_create_window() as
              gtk_tooltips_force_window(), so tooltips->tip_window can be accessed
              prior to the first tip being set.
              don't put an extra reference on the window, since it is a toplevel,
              it wont get destroyed from anywhere else.
      
              * overall macro and GtkType fixups.
      698c89e5
  10. 13 Apr, 1998 1 commit
  11. 03 Jan, 1998 1 commit
  12. 24 Nov, 1997 1 commit