2005-06-15 [paul] 1.9.11cvs73

* src/gtk/gtkaspell.c
	* src/gtk/gtkaspell.h
		fix build warnings
This commit is contained in:
Paul Mangan 2005-06-15 11:44:38 +00:00
parent 662b024ae2
commit 4acdf8916b
5 changed files with 10 additions and 11 deletions

View file

@ -1,3 +1,9 @@
2005-06-15 [paul] 1.9.11cvs73
* src/gtk/gtkaspell.c
* src/gtk/gtkaspell.h
fix build warnings
2005-06-15 [paul] 1.9.11cvs72
* src/prefs_filtering.c

View file

@ -561,3 +561,4 @@
( cvs diff -u -r 1.149.2.26 -r 1.149.2.27 src/inc.c; cvs diff -u -r 1.17.2.13 -r 1.17.2.14 src/send_message.c; cvs diff -u -r 1.1.4.11 -r 1.1.4.12 src/gtk/progressdialog.c; cvs diff -u -r 1.1.4.5 -r 1.1.4.6 src/gtk/progressdialog.h; ) > 1.9.11cvs70.patchset
( cvs diff -u -r 1.5 -r 1.6 COPYING; cvs diff -u -r 1.65.2.31 -r 1.65.2.32 src/codeconv.c; cvs diff -u -r 1.149.2.27 -r 1.149.2.28 src/inc.c; cvs diff -u -r 1.17.2.14 -r 1.17.2.15 src/send_message.c; cvs diff -u -r 1.1.4.12 -r 1.1.4.13 src/gtk/progressdialog.c; cvs diff -u -r 1.1.4.6 -r 1.1.4.7 src/gtk/progressdialog.h; ) > 1.9.11cvs71.patchset
( cvs diff -u -r 1.59.2.19 -r 1.59.2.20 src/prefs_filtering.c; ) > 1.9.11cvs72.patchset
( cvs diff -u -r 1.9.2.20 -r 1.9.2.21 src/gtk/gtkaspell.c; cvs diff -u -r 1.5.2.2 -r 1.5.2.3 src/gtk/gtkaspell.h; ) > 1.9.11cvs73.patchset

View file

@ -11,7 +11,7 @@ MINOR_VERSION=9
MICRO_VERSION=11
INTERFACE_AGE=0
BINARY_AGE=0
EXTRA_VERSION=72
EXTRA_VERSION=73
EXTRA_RELEASE=
EXTRA_GTK2_VERSION=

View file

@ -56,11 +56,12 @@
#include <aspell.h>
#include "gtk/gtktext.h"
#include "utils.h"
#include "codeconv.h"
#include "alertpanel.h"
#include "gtkaspell.h"
#include "gtk/gtkutils.h"
#define ASPELL_FASTMODE 1
#define ASPELL_NORMALMODE 2
#define ASPELL_BADSPELLERMODE 3
@ -257,7 +258,6 @@ static void destroy_menu(GtkWidget *widget, gpointer user_data);
/******************************************************************************/
static gint get_textview_buffer_charcount(GtkTextView *view);
static gint get_textview_buffer_position(GtkTextView *view);
static gint get_textview_buffer_charcount(GtkTextView *view)
{
@ -484,7 +484,6 @@ static void entry_insert_cb(GtkTextBuffer *textbuf,
gint len,
GtkAspell *gtkaspell)
{
size_t wlen;
guint pos;
g_return_if_fail(gtkaspell->gtkaspeller->checker);
@ -1283,7 +1282,6 @@ static void replace_real_word(GtkAspell *gtkaspell, gchar *newword)
int oldlen, newlen, wordlen;
gint origpos;
gint pos;
gint start = gtkaspell->start_pos;
GtkTextView *gtktext;
GtkTextBuffer *textbuf;
GtkTextIter startiter, enditer;
@ -1378,7 +1376,6 @@ static void add_word_to_session_cb(GtkWidget *w, gpointer data)
static void add_word_to_personal_cb(GtkWidget *w, gpointer data)
{
GtkAspell *gtkaspell = (GtkAspell *) data;
GtkTextView *gtktext = gtkaspell->gtktext;
aspell_speller_add_to_personal(gtkaspell->gtkaspeller->checker,
gtkaspell->theword,
@ -1562,9 +1559,6 @@ static void replace_with_create_dialog_cb(GtkWidget *w, gpointer data)
void gtkaspell_uncheck_all(GtkAspell * gtkaspell)
{
gint origpos;
gchar *text;
gfloat adj_value;
GtkTextView *gtktext;
GtkTextBuffer *buffer;
GtkTextIter startiter, enditer;

View file

@ -40,8 +40,6 @@
#include <gtk/gtkoptionmenu.h>
#include "gtk/gtktext.h"
typedef struct _GtkAspell GtkAspell; /* Defined in gtkaspell.c */
void gtkaspell_checkers_init (void);