[maemo-commits] [maemo-commits] r8365 - in projects/haf/trunk/python-hildon: . defs
From: www-data at stage.maemo.org www-data at stage.maemo.orgDate: Mon Nov 27 20:46:44 EET 2006
- Previous message: [maemo-commits] r8364 - in projects/haf/trunk/maemo-af-desktop: . libhildonmenu
- Next message: [maemo-commits] r8366 - projects/haf/trunk/maemo-launcher/debian
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: luciano
Date: 2006-11-27 20:46:35 +0200 (Mon, 27 Nov 2006)
New Revision: 8365
Modified:
projects/haf/trunk/python-hildon/defs/hildon-app.defs
projects/haf/trunk/python-hildon/defs/hildon-file-selection.defs
projects/haf/trunk/python-hildon/hildon-types.h
projects/haf/trunk/python-hildon/hildon.defs
projects/haf/trunk/python-hildon/hildon.override
Log:
Fixes (need to correct void * used to avoid warning messages)
Modified: projects/haf/trunk/python-hildon/defs/hildon-app.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-app.defs 2006-11-27 16:35:52 UTC (rev 8364)
+++ projects/haf/trunk/python-hildon/defs/hildon-app.defs 2006-11-27 18:46:35 UTC (rev 8365)
@@ -184,19 +184,19 @@
)
)
-;(define-method set_ui_manager
-; (of-object "HildonApp")
-; (c-name "hildon_app_set_ui_manager")
-; (return-type "none")
-; (parameters
-; '("GtkUIManager*" "uim")
-; )
-;)
+(define-method set_ui_manager
+ (of-object "HildonApp")
+ (c-name "hildon_app_set_ui_manager")
+ (return-type "none")
+ (parameters
+ '("GtkUIManager*" "uim")
+ )
+)
-;(define-method get_ui_manager
-; (of-object "HildonApp")
-; (c-name "hildon_app_get_ui_manager")
-; (return-type "GtkUIManager*")
-;)
+(define-method get_ui_manager
+ (of-object "HildonApp")
+ (c-name "hildon_app_get_ui_manager")
+ (return-type "GtkUIManager*")
+)
Modified: projects/haf/trunk/python-hildon/defs/hildon-file-selection.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-file-selection.defs 2006-11-27 16:35:52 UTC (rev 8364)
+++ projects/haf/trunk/python-hildon/defs/hildon-file-selection.defs 2006-11-27 18:46:35 UTC (rev 8365)
@@ -229,14 +229,14 @@
(return-type "gboolean")
)
-;(define-method set_filter
-; (of-object "HildonFileSelection")
-; (c-name "hildon_file_selection_set_filter")
-; (return-type "none")
-; (parameters
-; '("GtkFileFilter*" "filter")
-; )
-;)
+(define-method set_filter
+ (of-object "HildonFileSelection")
+ (c-name "hildon_file_selection_set_filter")
+ (return-type "none")
+ (parameters
+ '("GtkFileFilter*" "filter")
+ )
+)
(define-method get_filter
(of-object "HildonFileSelection")
Modified: projects/haf/trunk/python-hildon/hildon-types.h
===================================================================
--- projects/haf/trunk/python-hildon/hildon-types.h 2006-11-27 16:35:52 UTC (rev 8364)
+++ projects/haf/trunk/python-hildon/hildon-types.h 2006-11-27 18:46:35 UTC (rev 8365)
@@ -30,6 +30,7 @@
#include <gtk/gtkfilefilter.h>
#include <hildon-base-lib/hildon-base-dnotify.h>
#include <hildon-base-lib/hildon-base-types.h>
+#include <hildon-widgets/gtk-infoprint.h>
#include <hildon-widgets/hildon-add-home-dialog.h>
#include <hildon-widgets/hildon-app-private.h>
#include <hildon-widgets/hildon-app.h>
Modified: projects/haf/trunk/python-hildon/hildon.defs
===================================================================
--- projects/haf/trunk/python-hildon/hildon.defs 2006-11-27 16:35:52 UTC (rev 8364)
+++ projects/haf/trunk/python-hildon/hildon.defs 2006-11-27 18:46:35 UTC (rev 8365)
@@ -36,6 +36,7 @@
(include "defs/hildon-set-password-dialog.defs")
(include "defs/hildon-sort-dialog.defs")
(include "defs/hildon-system-sound.defs")
+;;Wrong name in hildon-telephone-editor.h
;;(include "defs/hildon-telephone-editor.defs")
(include "defs/hildon-time-editor.defs")
(include "defs/hildon-time-picker.defs")
Modified: projects/haf/trunk/python-hildon/hildon.override
===================================================================
--- projects/haf/trunk/python-hildon/hildon.override 2006-11-27 16:35:52 UTC (rev 8364)
+++ projects/haf/trunk/python-hildon/hildon.override 2006-11-27 18:46:35 UTC (rev 8365)
@@ -42,6 +42,7 @@
import gtk.Container as PyGtkContainer_Type
import gtk.Dialog as PyGtkDialog_Type
import gtk.EventBox as PyGtkEventBox_Type
+import gtk.FileFilter as PyGtkFileFilter_Type
import gtk.ListStore as PyGtkListStore_Type
import gtk.Menu as PyGtkMenu_Type
import gtk.Notebook as PyGtkNotebook_Type
@@ -50,6 +51,7 @@
import gtk.SizeGroup as PyGtkSizeGroup_Type
import gtk.TextBuffer as PyGtkTextBuffer_Type
import gtk.Toolbar as PyGtkToolbar_Type
+import gtk.UIManager as PyGtkUIManager_Type
import gtk.Window as PyGtkWindow_Type
import gtk.Widget as PyGtkWidget_Type
import pango.FontDescription as PyPangoFontDescription_Type
@@ -159,7 +161,8 @@
if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O!O:HildonFileChooserDialog.__init__", kwlist, &PyGtkWindow_Type, &parent, &py_action))
return -1;
- if (pyg_enum_get_value(GTK_TYPE_FILE_CHOOSER_ACTION, py_action, (gint *)&action))
+ /* void * */
+ if (pyg_enum_get_value(GTK_TYPE_FILE_CHOOSER_ACTION, py_action, (gint *)(void *)&action))
return -1;
self->obj = (GObject *)hildon_file_chooser_dialog_new(GTK_WINDOW(parent->obj), action);
@@ -350,7 +353,8 @@
if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O:HildonWeekdayPicker.set_day", kwlist, &py_day))
return NULL;
- if (pyg_enum_get_value(HILDON_TYPE_DATE_WEEKDAY, py_day, (gint *)&day))
+ /* void * */
+ if (pyg_enum_get_value(HILDON_TYPE_DATE_WEEKDAY, py_day, (gint *)(void *)&day))
return NULL;
hildon_weekday_picker_set_day(HILDON_WEEKDAY_PICKER(self->obj), day);
Py_INCREF(Py_None);
@@ -368,7 +372,8 @@
if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O:HildonWeekdayPicker.unset_day", kwlist, &py_day))
return NULL;
- if (pyg_enum_get_value(HILDON_TYPE_DATE_WEEKDAY, py_day, (gint *)&day))
+ /* void * */
+ if (pyg_enum_get_value(HILDON_TYPE_DATE_WEEKDAY, py_day, (gint *)(void *)&day))
return NULL;
hildon_weekday_picker_unset_day(HILDON_WEEKDAY_PICKER(self->obj), day);
Py_INCREF(Py_None);
@@ -386,7 +391,8 @@
if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O:HildonWeekdayPicker.toggle_day", kwlist, &py_day))
return NULL;
- if (pyg_enum_get_value(HILDON_TYPE_DATE_WEEKDAY, py_day, (gint *)&day))
+ /* void * */
+ if (pyg_enum_get_value(HILDON_TYPE_DATE_WEEKDAY, py_day, (gint *)(void *)&day))
return NULL;
hildon_weekday_picker_toggle_day(HILDON_WEEKDAY_PICKER(self->obj), day);
Py_INCREF(Py_None);
@@ -405,7 +411,8 @@
if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O:HildonWeekdayPicker.isset_day", kwlist, &py_day))
return NULL;
- if (pyg_enum_get_value(HILDON_TYPE_DATE_WEEKDAY, py_day, (gint *)&day))
+ /* void * */
+ if (pyg_enum_get_value(HILDON_TYPE_DATE_WEEKDAY, py_day, (gint *)(void *)&day))
return NULL;
ret = hildon_weekday_picker_isset_day(HILDON_WEEKDAY_PICKER(self->obj), day);
return PyBool_FromLong(ret);
- Previous message: [maemo-commits] r8364 - in projects/haf/trunk/maemo-af-desktop: . libhildonmenu
- Next message: [maemo-commits] r8366 - projects/haf/trunk/maemo-launcher/debian
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
