gedit r6905 - in trunk: . plugin-loaders/python/bindings
- From: jessevdk svn gnome org
- To: svn-commits-list gnome org
- Subject: gedit r6905 - in trunk: . plugin-loaders/python/bindings
- Date: Tue, 17 Feb 2009 12:32:14 +0000 (UTC)
Author: jessevdk
Date: Tue Feb 17 12:32:14 2009
New Revision: 6905
URL: http://svn.gnome.org/viewvc/gedit?rev=6905&view=rev
Log:
* plugin-loaders/python/bindings/geditmessage.override:
* plugin-loaders/python/bindings/gedit.override:
Fixed some embarassing typos in geditmessage.override and some compiler
warnings about unused variables (fixes #572101)
Modified:
trunk/ChangeLog
trunk/plugin-loaders/python/bindings/gedit.override
trunk/plugin-loaders/python/bindings/geditmessage.override
Modified: trunk/plugin-loaders/python/bindings/gedit.override
==============================================================================
--- trunk/plugin-loaders/python/bindings/gedit.override (original)
+++ trunk/plugin-loaders/python/bindings/gedit.override Tue Feb 17 12:32:14 2009
@@ -10,6 +10,7 @@
#include <gedit/gedit-enum-types.h>
#include <gedit/gedit-statusbar.h>
#include <gedit/gedit-debug.h>
+#include <gedit/gedit-help.h>
#include "gedit-plugin-python.h"
Modified: trunk/plugin-loaders/python/bindings/geditmessage.override
==============================================================================
--- trunk/plugin-loaders/python/bindings/geditmessage.override (original)
+++ trunk/plugin-loaders/python/bindings/geditmessage.override Tue Feb 17 12:32:14 2009
@@ -245,7 +245,6 @@
_wrap_gedit_message_type_new(PyGObject *self, PyObject *args, PyObject *kwargs)
{
PyObject *pypath, *pymethod, *optional = NULL, *pydict;
- guint len;
if (!PyArg_ParseTuple(args, "OO|OO:GeditMessageType.new", &pypath, &pymethod, &optional, &pydict))
return -1;
@@ -268,7 +267,7 @@
GeditMessageType *message_type = GEDIT_MESSAGE_TYPE (self->obj);
GeditMessage *message = gedit_message_type_instantiate(message_type, NULL);
- _wrap_helper_message_set_value(message, args, kwargs);
+ _helper_wrap_message_set_value(message, args, kwargs);
return pygobject_new((GObject *)message);
}
@@ -329,9 +328,7 @@
_wrap_gedit_message_set_value(PyGObject *self, PyObject *args, PyObject *kwargs)
{
static char *kwlist[] = { "key", "value", NULL };
- PyObject *ret, *pykey, *pyvalue;
- GValue value = { 0, };
- GType gtype;
+ PyObject *pykey, *pyvalue;
if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:GeditMessage.set_value", kwlist, &pykey, &pyvalue))
return NULL;
@@ -346,7 +343,7 @@
override gedit_message_set kwargs
static PyObject *
_wrap_gedit_message_set (PyGObject *self, PyObject *args, PyObject *kwargs) {
- _helper_wrap_message_set_values(GEDIT_MESSAGE(self->obj), args, kwargs);
+ _helper_message_set_values(GEDIT_MESSAGE(self->obj), args, kwargs);
Py_INCREF(Py_None);
return Py_None;
@@ -373,7 +370,6 @@
_wrap_gedit_message_bus_register(PyGObject *self, PyObject *args, PyObject *kwargs)
{
PyObject *pypath, *pymethod, *optional = NULL, *pydict;
- guint len;
GeditMessageBus *bus = GEDIT_MESSAGE_BUS(self->obj);
if (!PyArg_ParseTuple(args, "OO|OO:GeditMessageBus.register", &pypath, &pymethod, &optional, &pydict))
@@ -406,7 +402,6 @@
PyGILState_STATE state;
PyGeditCustomNotify *cunote = data;
PyObject *pybus, *pymessage, *retobj;
- gboolean ret = FALSE;
g_assert(cunote->func);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]