1. 27 Jan, 2002 2 commits
  2. 25 Jan, 2002 4 commits
    • Federico Mena Quintero's avatar
      Merge from gdk-pixbuf stable. · 165e9702
      Federico Mena Quintero authored
      2002-01-25  Federico Mena Quintero  <federico@ximian.com>
      
      	Merge from gdk-pixbuf stable.
      
      	* gdk/gdkpixbuf-drawable.c (rgb565msb): Fixed the endianness
      	conversion --- swap the individual 16 bit values instead of taking
      	everying as a 32 bit value.
      	(rgb565lsb): Likewise.
      	(rgb555lsb): Likewise.
      	(rgb555msb): Likewise.
      165e9702
    • Alexander Larsson's avatar
      Implement copy_to_image instead of get_image · 588e9d1d
      Alexander Larsson authored
      2002-01-25  Alex Larsson  <alexl@redhat.com>
      
      	* gdk/linux-fb/gdkdrawable-fb2.c (gdk_drawable_impl_fb_class_init):
      	Implement copy_to_image instead of get_image
      
      	* gdk/linux-fb/gdkimage-fb.c:
      	Implement _gdk_image_new_for_depth, _gdk_windowing_get_bits_for_depth and
      	_gdk_fb_copy_to_image.
      	Based in part on patch from Mathieu Lacage <mathieu_lacage@realmagic.fr>
      
      	* gdk/linux-fb/gdkmain-fb.c:
      	Make ENABLE_FB_MANAGER region larger.
      
      	* gdk/linux-fb/gdkprivate-fb.h:
      	Change _gdk_fb_get_image to _gdk_fb_copy_to_image.
      588e9d1d
    • Sven Neumann's avatar
      changed the comment so that gtk-doc doesn't get confused. · 54b6e6f7
      Sven Neumann authored
      2002-01-25  Sven Neumann  <sven@gimp.org>
      
      	* gtk/gtkwindow.c (gtk_window_get_size): changed the comment so
      	that gtk-doc doesn't get confused.
      54b6e6f7
    • Tim Janik's avatar
      assert that the passed in arrow is always _UP or _DOWN, this catches false · 9c6dc3d5
      Tim Janik authored
      Fri Jan 25 14:03:36 2002  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkspinbutton.c (gtk_spin_button_draw_arrow): assert
              that the passed in arrow is always _UP or _DOWN, this catches
              false invocations which lead to drawing artefacts.
              (start_spinning): likewise, i.e. sanity check the passed in arrow.
              (gtk_spin_button_button_release): fix arrow redrawing.
              (gtk_spin_button_button_press): must set click_child for
              button3 even if we don't take spinning action right away.
      
              * gtk/gtkspinbutton.h (struct _GtkSpinButton): document
              valid values for click_child.
      9c6dc3d5
  3. 24 Jan, 2002 6 commits
  4. 23 Jan, 2002 5 commits
  5. 22 Jan, 2002 3 commits
    • Jonathan Blandford's avatar
      Fix sizing bug I introduced accidentally, #69358 · 60afa9e1
      Jonathan Blandford authored
      Tue Jan 22 16:58:37 2002  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_size_allocate): Fix sizing bug
      	I introduced accidentally, #69358
      60afa9e1
    • Padraig O'Briain's avatar
      Update last change to prevent core dump · e060f594
      Padraig O'Briain authored
      * gtk/gtktreestore.c (gtk_tree_store_iter_children):
      Update last change to prevent core dump
      e060f594
    • Kristian Rietveld's avatar
      add some more stamp checks (pointed out by Anders Carlsson) · f0c42465
      Kristian Rietveld authored
      Mon Jan 21 01:21:54 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreestore.c: add some more stamp checks (pointed out
              by Anders Carlsson)
      
              * gtk/gtktreemodelsort.c (gtk_tree_model_sort_insert_value): don't
              assume _row_changed will insert sort (because _row_changed doesn't
              need to follow this signal), so apply insert sort here
              (gtk_tree_model_sort_level_find_insert): header doesn't need to be
              set here, so use a return instead of g_return_val_if_fail.
      f0c42465
  6. 21 Jan, 2002 7 commits
  7. 19 Jan, 2002 4 commits
    • Kristian Rietveld's avatar
      fix a load of open line ends (cell_edited): modified patch from German Poo · 4aebf932
      Kristian Rietveld authored
      Sat Jan 19 20:49:41 2002  Kristian Rietveld  <kris@gtk.org>
      
              * demos/gtk-demo/editable_cells.c: fix a load of open line ends
              (cell_edited): modified patch from German Poo Caaman~o
              to fix up old_text declaration and free the memory
              (do_editable_cells): unref the model after creating the treeview
      
              * demos/gtk-demo/list_store.c: fix a load of open line ends,
              (add_columns): set the sort column id, so we can sort
      
              * demos/gtk-demo/tree_store.c: fix a load of open line ends,
              (do_tree_store): unref the model after creating the treeview
      4aebf932
    • Havoc Pennington's avatar
      link to new X11 section in a lot of places when mentioning the window · 31283d57
      Havoc Pennington authored
      2002-01-19  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtkwindow.c: link to new X11 section in a lot of places when
      	mentioning the window manager.
      
      	* gtk/gtkwidget.c (gtk_widget_hide_on_delete): don't mention
      	window manager since we're portable.
      
      2002-01-19  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/x11.sgml: add a mostly-empty X11 section
      
      	* gtk/framebuffer.sgml: make title consistent with windows section
      
      	* gtk/tmpl/gtkdrawingarea.sgml: couple of fixes
      31283d57
    • Jeff Garzik's avatar
      Wrap case values in GPOINTER_TO_UINT(). Fixes build with gcc 3.x. · b2923584
      Jeff Garzik authored
      Sat Jan 19 08:47:41 2002  Jeff Garzik  <jgarzik@mandrakesoft.com>
      
              * gdk/linux-fb/gdkproperty-fb.c (gdk_atom_name):
              Wrap case values in GPOINTER_TO_UINT().  Fixes build with gcc 3.x.
      
              * gtk/gtkmain.c:  Include sys/types.h if G_OS_UNIX.
              Fixes build with gcc 3.x and -ansi.
      b2923584
    • Owen Taylor's avatar
      Fix problems when an engine declaration occurs in a reopened style, and · eb9406c2
      Owen Taylor authored
      Fri Jan 18 23:01:37 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkrc.c (gtk_rc_parse_style): Fix problems when
              an engine declaration occurs in a reopened style, and
              g_free() of objects when errors occur.
      eb9406c2
  8. 18 Jan, 2002 6 commits
    • Matthias Clasen's avatar
      Clarify documentation. (#69026) · fc85da54
      Matthias Clasen authored
              * gtk/gtkitemfactory.c (gtk_item_factory_get_widget_by_action):
              Clarify documentation. (#69026)
      
              * gtk/gtkprogressbar.c (gtk_progress_bar_size_request): Fix
              missing initialization of adjustment. (#69025)
      fc85da54
    • Raja R Harinath's avatar
      Simplify Makefiles. <URL: http://bugzilla.gnome.org/show_bug.cgi?id=68969> · dcb3638a
      Raja R Harinath authored
      Simplify Makefiles.
      <URL: http://bugzilla.gnome.org/show_bug.cgi?id=68969>
      * gdk/Makefile.am: Remove use of automake conditionals to pick
      library to build.
      * gtk/Makefile.am: Likewise.
      
      * gdk/Makefile.am (LDFLAGS): Use $(libdir), not @prefix@/lib.
      * gtk/Makefile.am (LDFLAGS): Likewise.
      dcb3638a
    • Owen Taylor's avatar
      Fix missing allocation.x/y offsets. (#68962, Jacob Berkman) · a8e2fc30
      Owen Taylor authored
      Thu Jan 17 20:13:14 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtknotebook.c (gtk_notebook_redraw_tabs): Fix
      	missing allocation.x/y offsets. (#68962, Jacob
      	Berkman)
      
      	* gtk/gtknotebook.c (gtk_notebook_size_allocate):
      	Queue a redraw on the entire widget if we hide
      	the last page or show the first. (Also #68962)
      a8e2fc30
    • Havoc Pennington's avatar
      change GTK_MOVEMENT_PARAGRAPHS to go to start/end of paragraph before it · c6a3df04
      Havoc Pennington authored
      2002-01-17  Havoc Pennington  <hp@redhat.com>
      	* gtk/gtktextview.c (gtk_text_view_move_cursor_internal): change
      	GTK_MOVEMENT_PARAGRAPHS to go to start/end of paragraph before it
      	starts to go up/down paragraphs. This makes Ctrl+Up/Ctrl+Down work
      	as in the keynav spec, though it makes the interpretation of
      	GTK_MOVEMENT_PARAGRAPHS different from the interpretation of some
      	of the other GTK_MOVEMENT_ thingies, maybe, as if that enum makes
      	any sense anyhow.
      c6a3df04
    • Jonathan Blandford's avatar
      For some reason, I was activating a row while just selecting it. Reported · 6bc31ea4
      Jonathan Blandford authored
      Thu Jan 17 16:34:55 2002  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row): For
      	some reason, I was activating a row while just selecting it.
      	Reported by andersca.
      	(gtk_tree_view_size_request): add a
      	validate_rows_handler to give us a rough width of the widget.
      
      	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
      	Queue a resize here just in case.  It's needed in over half the
      	cases, and I don't want to do a diff to figure out exactly when
      	it's needed.
      6bc31ea4
    • Matthias Clasen's avatar
      More composite children. · 841e8424
      Matthias Clasen authored
      841e8424
  9. 17 Jan, 2002 3 commits
    • Matthias Clasen's avatar
      Mark children as composite. (#66360) · 77c28630
      Matthias Clasen authored
              * gtk/gtkcolorsel.c, gtk/gtkfilesel.c, gtk/gtkfontsel.c:
              Mark children as composite. (#66360)
      
              * gtk/gtkwidget.c (gtk_widget_push_composite_child): Explain
              composite children some more. (#66360)
      77c28630
    • Havoc Pennington's avatar
      new function (which I then decided not to use but I think it's needed to · 9e404f2a
      Havoc Pennington authored
      2002-01-17  Havoc Pennington  <hp@redhat.com>
      	* gtk/gtktextlayout.c (_gtk_text_layout_get_line_xrange): new
      	function (which I then decided not to use but I think it's needed
      	to fix #68963
      	* gtk/gtktextview.c: add page_horizontally action signal and
      	implement Ctrl+PgUp, Ctrl+PgDown based on patch from Padraig,
      	hackily modified to avoid adding GTK_MOVEMENT_ API. Part of
      	#53934
      	* gtk/gtkmarshalers.list: add NONE:INT,BOOL
      9e404f2a
    • Owen Taylor's avatar
      Call gtk_selection_remove_all() here, not in destroy/ finalize. (#66636, · cf250934
      Owen Taylor authored
      Thu Jan 17 17:02:38 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwidget.c (gtk_widget_real_unrealize): Call
      	gtk_selection_remove_all() here, not in destroy/
      	finalize. (#66636, Sergey Vlasov)
      
      	* gtk/gtkselection.c (gtk_selection_request): Fix
      	reentrancy problem with multiple conversions.
      
      	* gtk/gtkselection.c (gtk_selection_remove_all):
      	Don't remove incrs, we don't need the widget for
      	maintain the incr.
      
      	* gtk/gtkselection.c (struct _GtkIncrInfo): Remove
      	the widget field from here, we don't need it.
      cf250934