[maemo-users] Howto change the resolution in maemo?

2006-03-17 Thread xuxian
Hi all,

The default resolution in maemo is 800*480. Now, I want to change the
resolution to 320*240. Could you give me some hints please? 
Any help will be appreciated.

xuxian

___
maemo-users mailing list
maemo-users@maemo.org
https://maemo.org/mailman/listinfo/maemo-users


[maemo-users] Confirmation note

2006-03-17 Thread Ari Paavilainen
Hi,

I'm using confirmation note with following code:

GtkWidget *note;
int i;
note = GTK_WIDGET(hildon_note_new_confirmation(GTK_WINDOW(uidata.app),
Message));
i = gtk_dialog_run (GTK_DIALOG (note));
gtk_widget_destroy (GTK_WIDGET (note));

When the code is in an ordinary callback function it works fine, but
when it is in a function which runs in a different thread, I get
following error messages:

GLIB CRITICAL ** Gdk - gdk_window_set_geometry_hints: assertion
'window != NULL' failed
GLIB CRITICAL ** Gdk - gdk_window_move_resize: assertion 'window !=
NULL' failed
Xlib: unexpected async reply (sequence 0x1d35)!

Any hints what's wrong?

-Ari

___
maemo-users mailing list
maemo-users@maemo.org
https://maemo.org/mailman/listinfo/maemo-users


Re: [maemo-users] Confirmation note

2006-03-17 Thread Nils Faerber
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Ari Paavilainen schrieb:
 Hi,
Hi!

 I'm using confirmation note with following code:
 
 GtkWidget *note;
 int i;
 note = GTK_WIDGET(hildon_note_new_confirmation(GTK_WINDOW(uidata.app),
   Message));
 i = gtk_dialog_run (GTK_DIALOG (note));
 gtk_widget_destroy (GTK_WIDGET (note));
 
 When the code is in an ordinary callback function it works fine, but
 when it is in a function which runs in a different thread, I get
 following error messages:
 
 GLIB CRITICAL ** Gdk - gdk_window_set_geometry_hints: assertion
 'window != NULL' failed
 GLIB CRITICAL ** Gdk - gdk_window_move_resize: assertion 'window !=
 NULL' failed
 Xlib: unexpected async reply (sequence 0x1d35)!
 
 Any hints what's wrong?

Did you use gdk_threads_init() in your main()?


 -Ari
Cheers
  nils faerber

- --
kernel concepts  Tel: +49-271-771091-12
Dreisbachstr. 24 Fax: +49-271-771091-19
D-57250 Netphen  Mob: +49-176-21024535
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEGqUEJXeIURG1qHgRAjkuAKDgUAzElmNoVaWfQ06nZbJHiZFxYACg7yN3
TibSqVKHBN4UXAvytD72GT0=
=Tcqi
-END PGP SIGNATURE-
___
maemo-users mailing list
maemo-users@maemo.org
https://maemo.org/mailman/listinfo/maemo-users