glib Questions

4

Sublime & from Terminal, opens a Sublime Text window, but keep getting this message: (sublime: 6476): GLib-CRITICAL **; Source ID 1982 was not found when attempting to remove it. The Source...
Colza asked 19/4, 2014 at 3:23

1

I write openweathermap site appindicator in python, but i need only text label in indicator without icon. But when i leave "" then show me empty icon. Why, i need only text. In Ubuntu 12.04 python-...
Laudatory asked 9/5, 2014 at 15:43

4

I'd like to hack on an existing GLib based C project using Vala. Basically what I'm doing is, at the beginning of my build process, using valac to generate .c and .h files from my .vala files and...
Gerkman asked 23/3, 2010 at 0:10

1

Solved

Are users of GLib allowed to run multiple GMainLoop instances concurrently in multiple threads, with each thread running its own instance? I've found "yes" and "no" answers all over the place. I re...
Anamariaanamnesis asked 31/1, 2014 at 16:55

5

After a succesful configure, make exits with snipped gclosure.c:29:17: fatal error: ffi.h: No such file or directory compilation terminated. I have libffi installed, and locate ffi.h gives: /ho...
Sansculotte asked 19/10, 2012 at 21:8

1

Solved

How can I properly set up the GLib testing suite with autotools ? My project already uses GLib. What are the minimal modifications I must do to set up a test suite ? Is there some m4 files to inclu...
Nomarch asked 13/11, 2013 at 16:16

1

I try to compile a code that uses gtk3 and I get the following error: make: glib-compile-resources: Command not found I am using fedora. I searched for the file "glib-compile-resources" and it do...
Goggle asked 6/10, 2013 at 0:35

3

Solved

In my plain C99 project, I have an external C library that defines an interface (via GObject interfaces) that I need to implement: void interface_function (const char *address, [...]); Now, with...
Theatricals asked 2/10, 2013 at 7:31

1

In Python 2.7 I can successfully convert the Unicode string "abc\udc34xyz" to UTF-8 (result is "abc\xed\xb0\xb4xyz"). But when I pass the UTF-8 string to eg. pango_parse_markup() or g_convert_with_...
Nephro asked 7/9, 2013 at 12:18

1

Solved

In a C program, I want to sort a list of valid UTF-8-encoded strings in Unicode code point order. No collation, no locale-awareness. So I need a compare function. It's easy enough to write such a ...
Lactalbumin asked 20/8, 2013 at 7:57

1

Solved

I've recently been exposed to GLib and am playing around with it. I have been able to replace a good deal of my C library functions with GLib functions (as an aside, I'm a huge fan of the command l...
Toadflax asked 26/7, 2013 at 5:45

1

Solved

I want to use lasem in my iOS App, but compiling lasem needs glib. How to build it? I download glib-2.37.4 from https://git.gnome.org/browse/glib/refs/tags. I then used autogen.sh to get a configu...
Sorcerer asked 14/7, 2013 at 10:33

5

Solved

What non-GUI programs (daemons) use glib?
Severus asked 23/6, 2010 at 10:22

3

Solved

I was looking for a good general-purpose library for C on top of the standard C library, and have seen several suggestions to use glib. How 'obtrusive' is it in your code? To explain what I mean by...
Boyle asked 3/7, 2013 at 12:20

1

Solved

I just installed glib in Raspbian(Debian version). I want to read a config file using glib. I am trying to write a C application in Codeblocks and I use the header #include <glib.h> But I...
Molybdenum asked 28/6, 2013 at 8:41

2

Solved

Is there a convenient library call that allows me to open the default browser that I can use from C? I poked around in glib and didn't see anything. There is xdg-open, and I can just system that I ...
Cubbyhole asked 18/6, 2013 at 18:35

1

Solved

import glib fails with: ImportError: /usr/lib/python2.7/dist-packages/glib/_glib.so: undefined symbol: PyUnicodeUCS4_DecodeUTF8 How can I fix this? Python version is Python 2.7.3rc2. The OS is ...
Prizewinner asked 1/6, 2013 at 10:40

2

hi every one kindly tell me how to install glib and gtk i am using ubuntu 10.04. i did;nt find any commands kindly tell me the procedure to install it
Guide asked 11/3, 2011 at 15:55

3

I'm new to python and trying to set up a functional test environment. The test environment shall receive signals over DBus and evaluate them. The DBus signaling uses the GLib MainLoop. I have the f...
Comedown asked 5/12, 2012 at 17:20

1

Solved

Problem I am making use of the GLib 2.0 library, and declared a gunit64 variable. I wish to print its value to screen, but its not working properly. Code Consider the following code snippet as a...
Waisted asked 7/3, 2013 at 13:53

1

I would like to define a new subclass of some gtkmm type, implementing interface of underlying GTK+ object. Then, i want to compile it into some kind of dll and use in pure C code (GTK+, no gtkmm) ...
Ferrell asked 23/5, 2012 at 21:16

1

GObject library is really awfully documented. It's damn hard to figure the purposes of entities created. Namely, I don't get the roles of GValue, GTypeValueTable, GTypeInfo, GParamSpec and TypeData...
Forcible asked 12/2, 2013 at 19:42

1

Solved

After a handler of an instance has been blocked with g_signal_handler_block, is it possible to check if the handler is still being blocked or has been unblocked by g_signal_handler_unblock in the m...
Firehouse asked 21/1, 2013 at 0:15

2

Solved

Possible Duplicate: Why does glib redefine types? In the GTK+ 2.0 tutorial, I can read here the following statement about data types: There are a few things you probably noticed in...
Plead asked 11/12, 2012 at 13:21

1

Solved

According to df there is plenty (about 50G) space left on the device. / # df db Filesystem 1K-blocks Used Available Use% Mounted on /dev/mmcblk0p3 61812032 11308736 50503296 18% /db Why might th...
Scenic asked 12/11, 2012 at 22:26

© 2022 - 2024 — McMap. All rights reserved.