gtranslator r3660 - in trunk/src: . dialogs translation-memory
- From: icq svn gnome org
- To: svn-commits-list gnome org
- Subject: gtranslator r3660 - in trunk/src: . dialogs translation-memory
- Date: Mon, 22 Sep 2008 09:41:31 +0000 (UTC)
Author: icq
Date: Mon Sep 22 09:41:31 2008
New Revision: 3660
URL: http://svn.gnome.org/viewvc/gtranslator?rev=3660&view=rev
Log:
Minor Fixes: cleanning warnnings.
Modified:
trunk/src/ChangeLog
trunk/src/dialogs/header-dialog.c
trunk/src/dialogs/preferences-dialog.c
trunk/src/dialogs/profile-dialog.c
trunk/src/statusbar.c
trunk/src/translation-memory/translation-memory-ui.c
Modified: trunk/src/dialogs/header-dialog.c
==============================================================================
--- trunk/src/dialogs/header-dialog.c (original)
+++ trunk/src/dialogs/header-dialog.c Mon Sep 22 09:41:31 2008
@@ -289,7 +289,7 @@
gtk_widget_set_sensitive(dlg->priv->po_date, FALSE);
gtk_widget_set_sensitive(dlg->priv->charset, FALSE);
- if (gtk_toggle_button_get_active(dlg->priv->take_my_options)) {
+ if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON (dlg->priv->take_my_options))) {
gtk_widget_set_sensitive(dlg->priv->translator, !gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON (dlg->priv->take_my_options)));
gtk_widget_set_sensitive(dlg->priv->tr_email, !gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON (dlg->priv->take_my_options)));
Modified: trunk/src/dialogs/preferences-dialog.c
==============================================================================
--- trunk/src/dialogs/preferences-dialog.c (original)
+++ trunk/src/dialogs/preferences-dialog.c Mon Sep 22 09:41:31 2008
@@ -918,7 +918,7 @@
G_CALLBACK (on_sentence_length_spinbutton_changed),
dlg);
- g_free (filename);
+ g_free ((gpointer)filename);
}
/***************Plugins pages****************/
Modified: trunk/src/dialogs/profile-dialog.c
==============================================================================
--- trunk/src/dialogs/profile-dialog.c (original)
+++ trunk/src/dialogs/profile-dialog.c Mon Sep 22 09:41:31 2008
@@ -26,6 +26,7 @@
#include "profile.h"
#include "utils.h"
+#include <string.h>
#include <glib.h>
#include <glib/gi18n.h>
#include <glib-object.h>
Modified: trunk/src/statusbar.c
==============================================================================
--- trunk/src/statusbar.c (original)
+++ trunk/src/statusbar.c Mon Sep 22 09:41:31 2008
@@ -218,8 +218,8 @@
gtranslator_statusbar_get_context_id (GtranslatorStatusbar *statusbar,
const gchar *context_description)
{
- return gtk_statusbar_get_context_id (statusbar->priv->statusbar,
- context_description);
+ return gtk_statusbar_get_context_id (GTK_STATUSBAR (statusbar->priv->statusbar),
+ context_description);
}
/**
Modified: trunk/src/translation-memory/translation-memory-ui.c
==============================================================================
--- trunk/src/translation-memory/translation-memory-ui.c (original)
+++ trunk/src/translation-memory/translation-memory-ui.c Mon Sep 22 09:41:31 2008
@@ -27,6 +27,7 @@
#include "tab.h"
#include "window.h"
+#include <string.h>
#include <glib.h>
#include <glib/gi18n.h>
#include <glib-object.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]