1. 01 Jan, 2002 3 commits
    • Tor Lillqvist's avatar
      Append EXEEXT to ../gdk-pixbuf/gdk-pixbuf-csource. · c8940d6f
      Tor Lillqvist authored
      2002-01-01  Tor Lillqvist  <tml@iki.fi>
      
      	* demos/Makefile.am (test-inline-pixbufs.h): Append EXEEXT to
      	../gdk-pixbuf/gdk-pixbuf-csource.
      
      2001-12-31  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/win32/gdkgc-win32.c (predraw_set_foreground): Improved error
      	handling.
      	(gdk_win32_hdc_get,gdk_win32_hdc_release): Silence gcc -Wall.
      
      	* gdk/win32/gdkimage-win32.c (_gdk_win32_get_image): Silence gcc
      	-Wall.  Use GDK_IS_PIXMAP_IMPL_WIN32 instead of GDK_IS_PIXMAP in
      	one more place.
      
      	* gdk/win32/gdkinput-win32.c (_gdk_input_other_event): Silence gcc
      	-Wall.
      
      	* gtk/Makefile.am (libgtk_win32_1_3_la_LDFLAGS): Add -lwsock32.
      c8940d6f
    • Havoc Pennington's avatar
      docs updates, mention that invisible property isn't implemented · 07e5b7f6
      Havoc Pennington authored
      2002-01-01  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/tmpl/gtktexttag.sgml: docs updates, mention that invisible
      	property isn't implemented
      
      	* gtk/text_widget.sgml: small tweaks
      
      2002-01-01  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtktextview.c (gtk_text_view_get_default_attributes): doc
      	fix
      07e5b7f6
    • Havoc Pennington's avatar
      Replace call to gtk_widget_size_request() that expected to actually · 6ee899e5
      Havoc Pennington authored
      2002-01-01  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtktextview.c (changed_handler): Replace call to
      	gtk_widget_size_request() that expected to actually compute the
      	request with a direct use of widget_class->size_request, so we get
      	our size request right; fixes remaining part of #63065 reported by
      	Matthias Clasen
      6ee899e5
  2. 31 Dec, 2001 5 commits
  3. 30 Dec, 2001 1 commit
    • Matthias Clasen's avatar
      Additions. · d925a72d
      Matthias Clasen authored
              * gtk/tmpl/gtkpixmap.sgml, gtk/tmpl/gtkscale.sgml,
              gtk/tmpl/gtkmain.sgml, gtk/tmpl/gtkimcontextsimple.sgml: Additions.
      
              * gtk/gtkwindow.c, gtk/gtkimcontextsimple.c: Minor documentation tweaks.
      d925a72d
  4. 29 Dec, 2001 1 commit
    • Matthias Clasen's avatar
      GDK instead of Gdk. · 5b291073
      Matthias Clasen authored
              * gdk-pixbuf/porting-from-imlib.sgml: GDK instead of Gdk.
      
              * gdk-pixbuf/tmpl/gdk-pixbuf-xlib-init.sgml: Replace references to
              deprecated functions.
      
              * gdk/tmpl/event_structs.sgml, gdk/tmpl/gcs.sgml,
              gdk/tmpl/images.sgml: Replace references to deprecated functions.
      
              * gdk/tmpl/properties.sgml, gdk/tmpl/selections.sgml: Additions.
      
              * gdk/x11/gdkproperty-x11.c, gdk/x11/gdkselection-x11.c:
              Minor documentation tweaks.
      5b291073
  5. 28 Dec, 2001 1 commit
  6. 27 Dec, 2001 6 commits
    • Owen Taylor's avatar
      Make interpretation of misc->xpad/ypad consistent with GtkLabel. Do · 6d51fcd9
      Owen Taylor authored
      Thu Dec 27 16:05:30 2001  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkarrow.c gtk/gtkimage.c gtkpixmap.c: Make interpretation
              of misc->xpad/ypad consistent with GtkLabel. Do
              directional flipping when interpreting misc->xalign/yalign.
              Fix off-by-one error for negative x,y. (#67472, reported
              by Mathieu Lacage)
      6d51fcd9
    • Owen Taylor's avatar
      Remove optimization that was causing problems because we called · 7aeb18a5
      Owen Taylor authored
      Thu Dec 27 15:45:41 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwidget.c (gtk_widget_set_style_internal):
      	Remove optimization that was causing problems because
      	we called gtk_widget_size_request() before we called
      	gtk_widget_queue_resize() so RESIZE_NEEDED was not
      	set. Optimization shouldn't mattter now that we
      	are smart about needlessly size requesting or allocating
      	widgets. (#67598, reported by Jacob Berkman)
      7aeb18a5
    • Owen Taylor's avatar
      Call gdk_window_get_pointer() on menu->bin_window not menu->window, so we · 095d7c33
      Owen Taylor authored
      Thu Dec 27 15:38:20 2001  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkmenu.c (gtk_menu_stop_navigating_submenu_cb):
              Call gdk_window_get_pointer() on menu->bin_window not
              menu->window, so we get the correct window for the
              menu item. (#65213, Guillermo S. Romero)
      095d7c33
    • Owen Taylor's avatar
      Allow unsetting the title by setting to NULL. Move docs inline. Update the · aae695ab
      Owen Taylor authored
      Thu Dec 27 15:13:44 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkmenu.c (gtk_menu_set_title): Allow unsetting
      	the title by setting to NULL. Move docs inline.
      	Update the title if the tearoff window already
      	exists. Code cleanup. (Fixes #65190, reported by
      	Vitaly Tishkov.)
      aae695ab
    • Owen Taylor's avatar
      gtk/gtkplug.c (gtk_plug_key_press_event): Don't do special handling of key · 95f4d72e
      Owen Taylor authored
      Thu Dec 27 14:04:22 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtksocket.c (gtk_socket_key_press_event):
      	gtk/gtkplug.c (gtk_plug_key_press_event): Don't do
      	special handling of key presses unless we are doing
      	iter-app embedding. (Fixes #67590, Anders Carlsson)
      95f4d72e
    • Kristian Rietveld's avatar
      fix a few places where I was confused between modelsort iters and other · 2282ef41
      Kristian Rietveld authored
      Thu Dec 27 16:37:04 2001  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_deleted),
              (gtk_tree_model_sort_sort_level),
              (gtk_tree_model_sort_insert_value): fix a few places where
              I was confused between modelsort iters and other iters. This was
              really going to happen someday ;)
      2282ef41
  7. 26 Dec, 2001 5 commits
    • Kristian Rietveld's avatar
      ensure we are unprelighted before reordering · 51ba1729
      Kristian Rietveld authored
      Wed Dec 26 23:41:41 2001  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreeview.c (gtk_tree_view_rows_reordered): ensure
              we are unprelighted before reordering
      
              * gtk/gtktreemodel.c (gtk_tree_row_ref_reordered_callback): we
              need to break out of the for loop, not return
      
              * gtk/gtktreemodelsort.c: more fixage and cleanups. It seems to
              be pretty stable now, though it still needs some more code
              cleanups.
      51ba1729
    • Owen Taylor's avatar
      Document the fact that gtk_paned_set_handle_size() has been removed. · c56a3caa
      Owen Taylor authored
      Wed Dec 26 12:32:31 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* docs/Changes-2.0.txt: Document the fact that
      	gtk_paned_set_handle_size() has been removed.
      
      	* gtk/gtkpaned.h Remove gtk_paned_handle_size() compat macro,
      	since it pointed to gtk_paned_set_handle_size(), which
      	was removed. (#66760, Matt Wilson)
      c56a3caa
    • Owen Taylor's avatar
      Connect gtk_drag_hightlight_expose _after_, so it works with widgets that · 1a0be4a6
      Owen Taylor authored
      Wed Dec 26 12:28:24 2001  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkdnd.c (gtk_drag_highlight): Connect
              gtk_drag_hightlight_expose _after_, so it works with
              widgets that paint there entire background. (#66735)
      1a0be4a6
    • Owen Taylor's avatar
      Assign the allocation to widget->allocation. (Fixes #67290, Chris Phelps.) · b48e255d
      Owen Taylor authored
      Wed Dec 26 12:17:06 2001  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkplug.c (gtk_plug_size_allocate): Assign the
              allocation to widget->allocation. (Fixes #67290,
              Chris Phelps.)
      b48e255d
    • Owen Taylor's avatar
      (#67542, reported by Anders Carlsson) · e1033f5f
      Owen Taylor authored
      Wed Dec 26 11:49:01 2001  Owen Taylor  <otaylor@redhat.com>
      
              (#67542, reported by Anders Carlsson)
      
              * gtk/gtkstyle.c (gtk_style_real_init_from_rc): Merge
              rc_style->font_desc with defaul style instead of replacing
              it.
      
              * gtk/gtkrc.c (gtk_rc_style_real_merge): Allow partial
              font descriptions in RC styles by calling
              pango_font_description_merge().
      e1033f5f
  8. 24 Dec, 2001 1 commit
  9. 23 Dec, 2001 1 commit
    • Owen Taylor's avatar
      1.3.12, interface, binary age 0. · cd607046
      Owen Taylor authored
      Sat Dec 22 12:38:03 2001  Owen Taylor  <otaylor@redhat.com>
      
              * configure.in: 1.3.12, interface, binary age 0.
      
              * configure.in: Require new versions of Glib, Pango, ATK.
      
              * NEWS: Updated.
      
              * configure.in: Make explicit what libtool we are executing.
              (Tomas Ogren)
      
              * gdk/gdkcolor.c gdk/gdkgc.c gdk/gdkwindow.c: Doc fixes.
      
              * gtk/gtkwidget.c (gtk_widget_[class]path) gtkrc.h : Fix
              parameter names for docs.
      
      Sat Dec 22 22:35:29 2001  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkwindow.c (gtk_window_realize)
                gtk/gtkplug.c (gtk_plug_realize): Include GDK_KEY_RELEASE_MASK.
      
              * gtk/gtkentry.c (gtk_entry_key_release)
                gtk/gtktextview.c (gtk_text_view_key_release_event): Pass
              key release events to the input method.
      
              * gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress):
              Handle release of Control/Shift to end hex sequence.
      
              * modules/input/gtkimcontextxim.c (gtk_im_context_xim_filter_keypress):         Handle key releases as well as presses.
      cd607046
  10. 20 Dec, 2001 3 commits
    • Matthias Clasen's avatar
      Forgotten log entry. · cd7243df
      Matthias Clasen authored
      cd7243df
    • Matthias Clasen's avatar
      More precise documentation about underscores and mnemonics. (#66380) · 3aabcd28
      Matthias Clasen authored
              * gtk/gtklabel.c (gtk_label_new_with_mnemonic),
              gtk/gtkbutton.c (gtk_button_new_with_mnemonic): More precise
              documentation about underscores and mnemonics. (#66380)
      
              * gtk/gtktextiter.c (gtk_text_iter_backward_word_starts): Fix
              cyclic reference in docs.
      
              * gtk/gtklabel.c (gtk_label_set_justify): Correct documentation
              of default value. (#65402)
      
              * gtk/gtkmain.c (gtk_set_locale, gtk_disable_set_locale):
              Markup fixes.
      
              * gdk-pixbuf-io.c, gdk-pixbuf-animation.c, gdk-pixbuf-data.c,
              gdk-pixbuf-loader.c, gdk-pixbuf-scale.c, gdk-pixbuf-util.c,
              gdk-pixdata.c: Markup fixes.
      
              * gtk/text_widget.sgml: More precise wording. (#63388)
      
              * gtk/tmpl/gtksignal.sgml (GTK_SIGNAL_OFFSET): Add docs.
      
              * gtk/resources.sgml: Fix markup of mail URLs.
      
              * gtk/tmpl/gtkpaned.sgml, gtk/tmpl/gtkobject.sgml: Markup fixes.
      
              * gtk/tmpl/gtktoolbar.sgml (gtk_toolbar_{prepend,append}_element):
              Expand documentation. (#60471)
      
              * gtk/tmpl/gtkmain.sgml: Remove misleading information about
              gtk_set_locale().  (#65758)
      3aabcd28
    • Anders Carlsson's avatar
      Don't call map here. · ecfd1aff
      Anders Carlsson authored
      2001-12-20  Anders Carlsson  <andersca@gnu.org>
      
      	* gtk/gtktreeview.c (gtk_tree_view_realize): Don't call
      	map here.
      ecfd1aff
  11. 18 Dec, 2001 3 commits
  12. 17 Dec, 2001 1 commit
    • Havoc Pennington's avatar
      Add Unicode control char menu, based on patch from Dov. Bug #63495 · 8a44bc04
      Havoc Pennington authored
      2001-12-06  Havoc Pennington  <hp@redhat.com>
      
              Add Unicode control char menu, based on patch from Dov.
              Bug #63495
      
              * gtk/gtkentry.c (gtk_entry_commit_cb): share code via
              gtk_entry_enter_text
              (gtk_entry_enter_text): function to do "typing in text"
              (popup_targets_received): add the Unicode menu items
      
              * gtk/gtktextview.c (popup_targets_received): add missing mnemonic
              on Input Methods item, and add the unicode menu items.
      
              * gtk/gtktextutil.h, gtk/gtktextutil.c: private utilities to be
              used in GtkEntry and GtkTextView - may become public later.
      8a44bc04
  13. 16 Dec, 2001 1 commit
    • Kjartan Maraas's avatar
      Fix a typo. Fix a typo. · b1a099e9
      Kjartan Maraas authored
      2001-12-16  Kjartan Maraas  <kmaraas@gnome.org>
      
      	* gtk/gtkprogressbar.c: Fix a typo.
      	* gtk/gtkpaned.c: Fix a typo.
      b1a099e9
  14. 15 Dec, 2001 2 commits
    • Darin Adler's avatar
      Fix some warnings. · 20a870a6
      Darin Adler authored
      	* gdk/x11/gdkproperty-x11.c: (gdk_property_get): Fix wrong type in
      	g_new -- bug if sizeof (GtkAtom) != sizeof (GtkAtom *).
      	* gdk/x11/gdkwindow-x11.c: (create_moveresize_window): FALSE -> NULL
      	* gtk/gtkaccellabel.c: (gtk_accel_label_refetch): Remove unused local.
      	* gtk/gtklistitem.c: (gtk_list_item_expose): Remove unused local.
      	* gtk/gtktextiter.c: (_gtk_text_iter_backward_indexable_segment):
      	Restructure loop to get rid of uninitialized variable warning. Also
      	gives a tiny efficiency gain.
      20a870a6
    • Murray Cumming's avatar
      Fixed first arg type of GtkScale's format_value signal's function pointer. · e1bb381e
      Murray Cumming authored
      * Fixed first arg type of GtkScale's format_value signal's
      function pointer.
      e1bb381e
  15. 14 Dec, 2001 1 commit
  16. 13 Dec, 2001 5 commits
    • Sebastian Wilhelmi's avatar
      Remove assorted G_OBJECT casts where unnecessary. · d99bd97f
      Sebastian Wilhelmi authored
      
      2001-12-13  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* gdk-pixbuf-animation.c, gdk-pixbuf-loader.c, gdk-pixpuf.c,
      	io-gif-animation.c, io-gif.c, io-tiff.c, test-loaders.c: Remove
      	assorted G_OBJECT casts where unnecessary.
      
      	* gdk-pixbuf-loader.c: Call g_object_ref and g_object_unref
      	instead of gdk_pixbuf_animation_ref and gdk_pixbuf_animation_unref
      	resp.
      
      	* gdk-pixbuf-csource.c, io-bmp.c, io-gif-animation.c, io-ico.c,
      	io-jpeg.c, io-png.c, io-pnm.c, io-ras.c, io-tga.c, io-wbmp.c,
      	io-xbm.c, io-xpm.c, test-gdk-pixbuf.c: Dito for gdk_pixbuf_ref and
      	gdk_pixbuf_unref.
      
      	* Makefile.am, pixops/Makefile.am: Compile everything with
      	-DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED
      
      	* gdk-pixdata.c: Use g_ascii_strup() instead of g_strup().
      
      	* io-xpm.c: Use g_ascii_strcasecmp() instead of g_strcasecmp().
      
      	* demos/testpixbuf-drawable.c, demos/testpixbuf-save.c,
      	demos/testpixbuf-scale.c, demos/testpixbuf.c: Call g_object_ref
      	and g_object_unref instead of gdk_pixbuf_ref and gdk_pixbuf_unref
      	resp.
      d99bd97f
    • Kristian Rietveld's avatar
      free path at the end · d3403353
      Kristian Rietveld authored
      Thu Dec 13 22:02:41 2001  Kristian Rietveld   <kris@gtk.org>
      
              * gtk/gtktreeview.c (validate_visible_area): free path
              at the end
      d3403353
    • Matthias Clasen's avatar
      Markup fixes. · fc4a6b95
      Matthias Clasen authored
      
              * gtk/gtkdialog.c, gtk/gtkrc.c, gtk/gtkwidget.c: Markup fixes.
      
              * gdk-pixbuf-io.c: Markup fixes.
      
              * gdk-pixbuf/tmpl/scaling.sgml, gdk/tmpl/fonts.sgml,
              gdk/tmpl/general.sgml, gdk/tmpl/rgb.sgml, gdk/tmpl/visuals.sgml,
              gdk/tmpl/windows.sgml, gtk/gtk-docs.sgml, gtk/tmpl/gtkaccellabel.sgml,
              gtk/tmpl/gtkcombo.sgml, gtk/tmpl/gtkdialog.sgml,
              gtk/tmpl/gtkdrawingarea.sgml, gtk/tmpl/gtkeditable.sgml,
              gtk/tmpl/gtkfilesel.sgml, gtk/tmpl/gtkfontseldlg.sgml,
              gtk/tmpl/gtkimage.sgml, gtk/tmpl/gtkmain.sgml, gtk/tmpl/gtkmenu.sgml,
              gtk/tmpl/gtkmessagedialog.sgml, gtk/tmpl/gtkobject.sgml,
              gtk/tmpl/gtkpaned.sgml, gtk/tmpl/gtkradiobutton.sgml,
              gtk/tmpl/gtkrc.sgml, gtk/tmpl/gtkscale.sgml, gtk/tmpl/gtksignal.sgml,
              gtk/tmpl/gtksocket.sgml, gtk/tmpl/gtkspinbutton.sgml,
              gtk/tmpl/gtktogglebutton.sgml, gtk/tmpl/gtksignal.sgml,
              gtk/tmpl/gtktooltips.sgml, gtk/tmpl/gtkwindow.sgml,
              gdk/tmpl/regions.sgml, gtk/tmpl/gtkfontsel.sgml,
              gtk/tmpl/gtkpixmap.sgml, gtk/tmpl/gtkprogress.sgml,
              gtk/tmpl/gtkselection.sgml, gtk/tmpl/gtktable.sgml,
              gtk/tmpl/gtktipsquery.sgml: Markup fixes (mainly examples).
      fc4a6b95
    • Kristian Rietveld's avatar
      do not try to find the clicked node in the tree when tree == NULL · fe655f39
      Kristian Rietveld authored
      Thu Dec 13 20:37:27 2001  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreeview.c (gtk_tree_view_button_press): do not try
              to find the clicked node in the tree when tree == NULL
      fe655f39
    • Anders Carlsson's avatar
      Compare event->state with the default mod mask. · 5a3de51b
      Anders Carlsson authored
      2001-12-13  Anders Carlsson  <andersca@gnu.org>
      
      	* gtk/gtktreeview.c (gtk_tree_view_button_press): Compare
      	event->state with the default mod mask.
      5a3de51b