1. 01 Sep, 1998 2 commits
  2. 31 Aug, 1998 1 commit
  3. 29 Aug, 1998 1 commit
    • Manish Singh's avatar
      quell some warnings with g_hash_table_new · f2322ebe
      Manish Singh authored
      * gdk/gdkcolor.c:
      (gdk_colormap_new) (gdk_colormap_get_system):
      quell some warnings with g_hash_table_new
      
      * gtk/gtkaccelgroup.c (gtk_accel_group_add): free the GtkSignalQuery when
      we're done with it
      
      * gtk/itemfactory.c:
      (gtk_item_factory_from_path):
      (gtk_item_factory_create_item): free some strings
      
      * gtk/gtklabel.c:
      (gtk_label_finalize): free label->pattern when done
      (gtk_label_parse_uline): null terminate pattern string, delete some duplicated
      code
      
      * gtk/testthreads.c: add #include <unistd.h> for sleep()
      
      -Yosh
      f2322ebe
  4. 25 Aug, 1998 4 commits
    • Owen Taylor's avatar
      Make sure the mark we pass to line start is the beginning of a real line, · 1dafcb2a
      Owen Taylor authored
      Tue Aug 25 16:52:47 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtktext.c (recompute_geometry): Make sure the
      	mark we pass to line start is the beginning of a
      	real line, not a wrapped one.
      1dafcb2a
    • Marius Vollmer's avatar
    • Arturo Espinosa's avatar
      1cbad0a4
    • Owen Taylor's avatar
      Reference count the fonts used in the text widget. · caf8ebc6
      Owen Taylor authored
      Mon Aug 24 18:37:15 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtktext.c: Reference count the fonts used in
      	the text widget.
      
      	* gdk/gdk.h gdk/gdkcolor.c: Rename the color allocation
      	freeing functions to be more consistent, and more
      	convenient; leave the old names in for backwards compatibility.
      
      	* gdk/gdkcolor.c gdk/gdkprivate.h: Reference count the
      	allocations in pseudo-color colormaps to greatly reduce
      	calls to XAllocColor. Keep a per-colormap hashtable to
      	speed up finding if there is an already-allocated matching
      	color.
      
      	* gdk/gdkcolor.c: Don't just match read the system colormap
      	when the colormap is created, but synchronize our copy
      	with the system colormap periodically.
      
      	* gdk/gdk.c gdk/gdktypes.h gtk/gtkentry.c gtk/gtktext.c:
      	Change XIM constants names to match GDK conventions
      
      	* gtk/testinput.c: Allow the drawing area to get the focus.
      
      	* gtk/testgtk.c: Change around the Text test to demonstrates
      	multiple fonts, use more color...
      caf8ebc6
  5. 24 Aug, 1998 2 commits
    • Manish Singh's avatar
      removed some unused variables · b93d6892
      Manish Singh authored
      * gdk/gdkrgb.c: removed some unused variables
      
      * gtk/gtkclist.c
      * gtk/gtkmain.c: #if 0'd out some unused code
      
      * gtk/gtkobject.c: check for NULL object hash table in gtk_object_debug
      
      -Yosh
      b93d6892
    • Tim Janik's avatar
      begin the parameter elipsis (...) after the first argument name. this · 02a871bc
      Tim Janik authored
      Mon Aug 24 02:36:53 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkarg.h:
              * gtk/gtkarg.c:
              * gtk/gtkwidget.h:
              * gtk/gtkwidget.c:
              * gtk/gtkobject.h:
              * gtk/gtkobject.c:
              * gtk/gtkcontainer.h:
              * gtk/gtkcontainer.c:
              (gtk_object_new):
              (gtk_object_set):
              (gtk_widget_new):
              (gtk_widget_set):
              (gtk_container_add_with_args):
              (gtk_container_child_set):
              begin the parameter elipsis (...) after the first argument name. this
              change is source compatible, since it was always required, even as NULL.
              (gtk_args_collect):
              (gtk_object_args_collect):
              (gtk_container_child_args_collect):
              changed prototypes to pass first_arg_name, also, pass va_list variable
              by value (portability concerns). callers changed.
      
              * gtk/gtkargcollector.c: implemented gtk_arg_collect_value() as
              a huge macro GTK_ARG_COLLECT_VALUE() <shrug>. this is needed because we
              can't pass va_list variables by reference for portability reasons.
      02a871bc
  6. 22 Aug, 1998 7 commits
  7. 21 Aug, 1998 11 commits
  8. 20 Aug, 1998 9 commits
  9. 18 Aug, 1998 3 commits
    • Tim Janik's avatar
      allow argument parsing in gtk without G_ENABLE_DEBUG being defined · 38db8d19
      Tim Janik authored
      Wed Aug 19 00:11:14 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkmain.c (gtk_init): allow argument parsing in gtk without
              G_ENABLE_DEBUG being defined (specifically --gtk-module= and
              --g-fatal-warnings), noticed by miguel.
      38db8d19
    • Tim Janik's avatar
      use g_get_current_dir() instead of getcwd(). · 49dfa78e
      Tim Janik authored
      Tue Aug 18 17:54:40 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkrc.c (gtk_rc_parse_file): use g_get_current_dir() instead of
              getcwd().
      
              * gdk/gdkprivate.h:
              * gdk/gdkglobals.c:
              * gdk/gdkwindow.c:
              * gdk/gdk.c:
              * gtk/gtkwindow.c:
              * gtk/gtkitemfactory.c:
              dropped gdk_progname, use g_get_prgname()/g_set_prgname() instead.
      
              * gtk/gtkselection.c:
              * gtk/gtkpreview.c:
              * gtk/gtkobject.c:
              * gtk/gtkmain.c:
              * gtk/gtktypeutils.c: indentation fixes due to g_message() use.
      
              * gdk/gdkrgb.c: exchanged occourances of g_print with g_message.
      49dfa78e
    • Lars Hamann's avatar
      fix for sigsegv in case of show_tabs == NULL · 1575a19c
      Lars Hamann authored
      Tue Aug 18 17:22:22 1998  Lars Hamann  <lars@gtk.org>
      
      	* gtk/gtknotebook.c (gtk_notebook_switch_focus_tab):
      	* gtk/gtknotebook.c (gtk_notebook_update_labels): fix for sigsegv
      	in case of show_tabs == NULL
      1575a19c