summaryrefslogtreecommitdiff
path: root/gtk/gtkscrolledwindow.c
Commit message (Collapse)AuthorAgeFilesLines
* configure.in acheader.h gdk/gdkwindow.c Check for Shape extension both onOwen Taylor1998-05-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sun May 3 13:38:22 1998 Owen Taylor <otaylor@gtk.org> * configure.in acheader.h gdk/gdkwindow.c Check for Shape extension both on the client and server side. (And, more importantly, check for the shape extension so we may include -lXext even when compiling with --disable-xshm) Don't set override_redirect on all shaped windows. It isn't necessary. * gdk/gdkwindow.c: Set ->colormap to NULL for root and foreign windows. Use this to check if we need to get the colormap from X. Fri May 1 22:32:47 1998 Owen Taylor <otaylor@gtk.org> * gtk/gtkbutton.c (gtk_button_paint): Draw the areas between the default and the button always in GTK_STATE_NORMAL. * gtk/gtkrange.c (gtk_range_style_set): Added a style_set callback. Fri May 1 16:40:57 1998 Owen Taylor <otaylor@gtk.org> * gdk/gdkpixmap.c (gdk_pixmap_colormap_create_from_xpmp[_d]): Fix a buffer overflow on pixmaps that claim to have more than 31 characters per pixel. (gdk_pixmap_read_string): Don't wrap around strings longer than half of address space ;-) * gtk/gtk[vh]ruler.c gtk/gtkinputdialog.c: Expand some buffers that were used for printing integers. * */* (almost): Style: All int foo () { ... } changed to int foo (void) { ... } ^^^^^^^ This is why some many files changed Even where there were proper prototypes elsewhere. * gdk/gxid.c (handle_claim_device): Some extra checks. It isn't safe against being fed bad X id's, but at least it should be safe against deleting all your files.
* merging owen's bug fixOwen Taylor1998-05-021-0/+5
| | | | | | | | Fri May 1 22:45:55 1998 Owen Taylor <otaylor@gtk.org> * gtk/gtkscrolledwindow.c (gtk_scrolled_window_size_allocate): Always show the scrollbars when the policy is GTK_POLICY_ALWAYS...
* Merged changes from gtk-1-0. Check ChangeLog for details.Owen Taylor1998-05-011-38/+56
|
* Changed LGPL address for FSF in all .h and .c filesPDT 1998 Shawn T. Amundson1998-04-131-2/+3
| | | | | | Sun Apr 12 18:54:29 PDT 1998 Shawn T. Amundson <amundson@gtk.org> * Changed LGPL address for FSF in all .h and .c files
* Removed, because that's what a NULL comparison function means. And itOwen Taylor1998-04-071-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tue Apr 7 19:36:48 1998 Owen Taylor <owt1@cornell.edu> * gutils.c (g_direct_compare): Removed, because that's what a NULL comparison function means. And it wasn't 64 bit safe. Tue Apr 7 19:14:03 1998 Owen Taylor <owt1@cornell.edu> * gdk/gdkpixmap.c: Added maximum field widths to prevent possible '%s' scanf overflows. Replaced scanf("%c") with getc(), Don't interpret /*/ as a full comment. Use g_realloc/g_new. * gtk/gtkwidget.h gtk/gtkprivate.h: Changed all flag tests to check for ((GTK_WIDGET_FLAGS(widget) & FLAG) != 0) instead of (GTK_WIDGET_FLAGS(widget) & FLAG) * gtk/gtkfilesel.c: Use getwd() instead of getcwd() on SunOS, because getcwd() hangs up in a wait4(). (Found by David Monniaux <monniaux@clipper.ens.fr>) - Check device/inode/mtime not just inode/mtime, when caching scanned directories. (From: scottk@ig.utexas.edu (Scott Kempf)) * gdk/gdkpixmap.c: Check for 0 width/height when creating pixmaps. * gtk/*.c: Global substitution of recently introduced "MAX (0," for allocations to "MAX (1,", since creating a backing pixmap with a zero width or height fails. * gdk/gdkwindow.c (gdk_window_new): Don't set all the WM properties for child windows. Don't set the base size, since the value we set will be taken as a minimum size.
* More extensive debugging outputOwen Taylor1998-04-031-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fri Apr 3 17:14:55 1998 Owen Taylor <owt1@cornell.edu> * gdk/gdk.c: More extensive debugging output * gtk/gtkalignment.c gtk/gtkbutton.c gtk/gtkcheckbutton.c gtk/gtkclist.c gtk/gtkeventbox.c gtk/gtkhandlebox.c gtk/gtk[hv]box.c gtk/gtk[hv]paned.c gtk/gtklist.c gtk/gtkmenu.c gtk/gtkmenubar.c gtk/gtkmenuitem.c gtk/gtknotebook.c gtk/gtktable.c gtk/gtktree.c gtk/gtktreeitem.c gtk/gtkviewport.c Avoid assigning negative values to unsigned allocation.width and height * gtk/gtkwindow.c: Instead of realizing the widget, then size allocating, (resulting in XMoveResizeWindows for all children, do the size allocation first, then realize. In gtk_real_window_move_resize, combine move and resize into a single GDK/X call when possible. * gtk/gtkclist.c gtk/gtkdrawingarea.c: Remove assumption that the widget will be size allocated _after_ it is realized. * gtk/gtklist.c (gtk_list_motion_notify): Removed useless debugging message.
* perform the neccessary checks on funtion begin. use the scrolled_windowTim Janik1998-03-181-4/+6
| | | | | | | | Thu Mar 19 00:37:44 1998 Tim Janik <timj@gtk.org> * gtk/gtkscrolledwindow.c (gtk_scrolled_window_construct): perform the neccessary checks on funtion begin. use the scrolled_window that got passed to this function, and not a new one.
* ( From: James Henstridge <james@daa.com.au> )Owen Taylor1998-03-181-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | Wed Mar 18 11:09:10 1998 Owen Taylor <owt1@cornell.edu> ( From: James Henstridge <james@daa.com.au> ) * gtk/gtkclist.c: Don't remove, then destroy labels in gtk_clist_set_column_[*], just remove them. * gtk/gtkmain.c (gtk_invoke_timeout_function): call marshal when appropriate, not function. Tue Mar 17 14:15:07 1998 Owen Taylor <owt1@cornell.edu> * gtk/testgtk.c (create_main_window): Alphabetize tests * gtk/gtk[hv]paned.c: Change division on resize if necessary to keep handle visible. * gtk/gtkgamma.c gtk/gtkcurve.c: Moved initialization into _init() functions. * gtk/gtkscrolledwindow.c: Added missing _construct() functions.
* Chain to the parent finalize handler. (from: "Mattias.Gronlund"Owen Taylor1998-03-111-0/+2
| | | | | | | | Tue Mar 10 19:55:13 1998 Owen Taylor <owt1@cornell.edu> * gtk/gtkscrolledwindow.c (gtk_scrolled_window_finalize): Chain to the parent finalize handler. (from: "Mattias.Gronlund" <Mattias.Gronlund@sa.erisoft.se>)
* hm, initital refcount revolution commit ;)Tim Janik1998-01-301-2/+28
| | | | | still some gnits left, but keep working on it ;) -timj
* main part for GtkArgSetFunc/GtkArgGetFunc implementation.Tim Janik1998-01-161-1/+2
| | | | -timj
* initialize scrollbar_spacing (gtk-fortier-980103-0)GTK_0_99_2Shawn Amundson1998-01-031-0/+2
| | | | | | | * gtk/gtkscrolledwindow.c: initialize scrollbar_spacing (gtk-fortier-980103-0) -Shawn
* this macro computes the spacing from klass->scrollbar_spacing now. adaptedTim Janik1997-12-231-7/+7
| | | | | | | | | * gtk/gtkscrolledwindow.c (SCROLLBAR_SPACING): this macro computes the spacing from klass->scrollbar_spacing now. adapted all functions that used this macro (based on a patch from Patrice Fortier). * gtk/gtkscrolledwindow.h (struct _GtkScrolledWindowClass): added scrollbar_spacing to substitute a define (patch from Patrice Fortier). -timj
* Initial revisionElliot Lee1997-11-241-0/+510