GBytes is Immutable

2012-03-19 Thread Michael Fletcher
I am trying to writing a network server using gio, gobject-introspection and gjs. I am using the Gio async calls such as g_input_stream_read_async. I have managed to map the "void *buffer" to an array. However I do not believe this is safe because g_input_stream_read_async does not ref the b

Re: Maximization or Maximized window size

2012-03-19 Thread Sirotin Roman
> You can get the screen size with gdk_screen_get_width and > gdk_screen_get_height. To get the screen you can call gtk_widget_get_screen. It's not what I need. There could be some preserved areas on the screen i.e. panels, toolbars etc. and I need to get size of available screen area, but those