| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
No more callers of _gtk_find_module.
|
|
|
|
| |
This is only called in one place, move the function there.
|
|
|
|
|
|
| |
We don't use these definitions anymore.
Also clean up the docs wrt to modules.
|
|
|
|
|
|
| |
We no longer look at the GTK_MODULES environment variables.
With this commit, we stop loading general-purpose modules
altogether.
|
|
|
|
|
|
|
|
| |
The Wayland backend was already not supporting this setting
since it is an XSetting that is not backed by a GSetting.
Drop this setting altogether, since we will stop supporting
general-purpose modules.
|
|
|
|
| |
No need for this here either.
|
|
|
|
| |
We can get the setting from the display instead.
|
|
|
|
| |
This way, we can warn if GTK2 or GTK3 are linked into libgtk4.
|
| |
|
|
|
|
|
| |
Add a copy of this deprecated utility in gtkutils.c and use
it instead of the pango API.
|
|
|
|
|
|
| |
The g_print documentation explicitly says not to do this, since
g_print is meant to be redirected by applications. Instead use
g_message for logging that can be triggered via GTK_DEBUG.
|
| |
|
| |
|
|
|
|
| |
This reverts commit 7f9a0dbe164f7c731d24c4890dde51391787e966.
|
|
|
|
|
| |
In the following commits, this function will be used to load the
gtkparasite module.
|
|
|
|
| |
Instead of Return value:
|
| |
|
|
|
|
|
|
| |
It's not necessary anymore because gdk_display_manager_get() always
succeeds and the value is independant of when it was called as it's no
longer backend specific.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
When no GDK backend can be initialized (either because
GDK_BACKEND has been set to the wrong value, or the backends
are simply not included), the expectation is that gtk_init_check
should return FALSE, not error out.
This commit makes it so, by using gdk_display_manager_peek
instead of gdk_display_manager_get in code paths that are used
during initialization.
|
|
|
|
|
|
| |
Slightly modified by Alejandro Piñeiro
https://bugzilla.gnome.org/show_bug.cgi?id=677491
|
|
|
|
|
|
|
| |
We should rely on the module path environment variables being
set correctly for the architecture rather than load from .gtk-3.0
https://bugzilla.gnome.org/show_bug.cgi?id=646631
|
| |
|
|
|
|
|
|
| |
This required a somewhat more substantial include reshuffling.
Some typedefs have been moved to gtkiconfactory.h and to
gtksettings.h.
|
|
|
|
| |
and remove gtkmainprivate.h completely.
|
|
|
|
|
|
|
|
|
|
|
| |
- add gtkmodulesprivate.h and move stuff there from gtkprivate.h
- add gtkprivate.c and move stuff there from gtkmain.c
- add gtkwin32.c and move stuff there from gtkmain.c
- don't redefine GTK_DATADIR and friends in gtkprivate.h
- have _gtk_get_datadir() and friends on all platforms
- remove the horrid hacks where gtkprivate.h can't be included,
or must be included later due to redefinition of the compile-time
directories
|
|
|
|
| |
Instead of an explicit { 0, } when declaring the variable.
|
|
|
|
|
|
|
|
|
|
|
|
| |
The handling of the module lists is a bit confusing here. There is
a global list that is populated with initial modules from GTK_MODULES,
and then there is a second list that is suppposed to hold the modules
loaded from the gtk-modules xsetting, which we attach to the GtkSettings
object. The blacklisting caused us to put the wrong modules into the
second list, and mess up the module refcounts, eventually double-freeing
memory when the setting changes repeatedly.
https://bugzilla.gnome.org/show_bug.cgi?id=659966
|
|
|
|
| |
fixes a crash when removing "gail" from gtksettings-specified modules
|
|
|
|
| |
Don't mention blacklisted modules at all if they are not found.
|
|
|
|
|
| |
And print a message when somebody has it enabled that indicates that
something is wrong but doesn't sound too scary.
|
|
|
|
| |
This helps prevent accidents with GTK_PATH.
|
|
|
|
|
|
|
|
| |
At the same time, introduce a gtkmainprivate.h header
and various other cleanups.
Based on a patch by Tadej Borovšak.
https://bugzilla.gnome.org/show_bug.cgi?id=617471
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=623845
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In particular, rename
- libraries to lib*-3.0.so
- pc files to *-3.0.pc
- include paths to /usr/include/gtk-3.0/*
- module paths to /usr/lib/gtk-3.0/*
- rc files names to gtk-3.0/gtkrc
- commandline utilities to *-3.0
- adjust documentation
Also change the install location for unix-print headers to
/usr/include/gtk-3.0/unix-print/gtk.
|
|
|
|
|
|
|
| |
This fixes bug 579884. Previously the return value of g_slist_find_custom was
being recasted as type (GtkModuleInfo *). This patch sets the return value
to a temporary variable of type (GSList *), and sets info to temp->data. This
avoids a crashing problem.
|
|
|
|
|
|
|
|
|
|
|
| |
2008-10-03 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkmodules.c (_gtk_modules_settings_changed): Add some
debug output.
svn path=/trunk/; revision=21583
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-09-13 Cosimo Cecchi <cosimoc@gnome.org>
Bug 552153 – GtkModules loading with XSettings doesn't work if the
GTK_MODULES env var isn't set.
* gtk/gtkmain.c: (do_post_parse_initialization):
* gtk/gtkmodules.c: (_gtk_modules_init):
Call _gtk_modules_init () even if gtk_modules_string is NULL, so
that GtkModules specified with XSettings could be loaded.
svn path=/trunk/; revision=21380
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-07-18 Federico Mena Quintero <federico@novell.com>
* demos/gtk-demo/changedisplay.c (find_toplevel_at_pointer): Don't
do funny casts to avoid compiler warnings.
* demos/gtk-demo/textview.c (easter_egg_callback): Likewise.
* gtk/gtkmain.c (rewrite_event_for_grabs, gtk_get_event_widget): Likewise.
* gtk/gtkmodules.c (load_module): Likewise.
* gtk/gtkselection.c (gtk_selection_convert): Likewise.
* gtk/gtktipsquery.c (gtk_tips_query_event): Likewise.
* gtk/queryimmodules.c (query_module): Likewise.
* tests/testgtk.c (create_gridded_geometry, create_key_lookup)
(find_widget_at_pointer): Likewise.
Signed-off-by: Federico Mena Quintero <federico@novell.com>
svn path=/trunk/; revision=20862
|
|
|
|
| |
svn path=/trunk/; revision=20724
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-06-30 Cody Russell <bratsche@gnome.org>
* Practically everything changed.
Change all references of GIMP Toolkit (and variations of it)
to GTK+ Toolkit, showing no mercy at all to our beloved
ancestry. (#540529)
svn path=/trunk/; revision=20709
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-06-21 Johan Dahlin <jdahlin@async.com.br>
* *.[ch]: Include "config.h" instead of <config.h>
Command used:
find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g'
Rubberstamped by Mitch and Tim
svn path=/trunk/; revision=20669
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-04-25 Michael Natterer <mitch@imendio.com>
* gtk/gtkprintcontext.h: include <pango/pango.h> instead of
<pango/pango-layout.h>.
* gtk/gtkiconfactory.c
* gtk/gtkimmodule.c
* gtk/gtkmain.c
* gtk/gtkmodules.c
* gtk/queryimmodules.c: remove inclusion of single files from
pango, none of them was actually needed.
* modules/input/gtkimcontextime.c: include <pango/pango.h> instead of
<pango/pango-utils.h>.
svn path=/trunk/; revision=20042
|
|
|
|
|
|
|
|
|
| |
2007-09-04 Michael Natterer <mitch@imendio.com>
* gtk/gtkmodules.c: added missing \n to g_print() in GTK_NOTE().
svn path=/trunk/; revision=18720
|
|
|
|
|
|
|
|
|
|
|
| |
2007-01-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkmodules.c (_gtk_modules_init): Set
default_display_opened before loading modules. (#393102,
Brian Cameron)
svn path=/trunk/; revision=17114
|
|
|
|
|
|
|
|
| |
2006-09-10 Matthias Clasen <mclasen@redhat.com>
* Commit a patch by Behdad to fix typos, omissions and other
errors in the symbol aliasing, and add checks for local PLT
entries. (#354687, Behdad Esfahbod)
|
|
|
|
|
|
|
| |
2006-08-25 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkmodules.c (find_module): Use local binding when
loading modules. (#351868)
|
| |
|
|
|
|
|
|
|
|
|
|
| |
2005-12-16 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilesystem.c (gtk_file_system_module_load):
* gtk/gtkimmodule.c (gtk_im_module_load):
* gtk/gtkthemes.c (gtk_theme_engine_load):
* gtk/gtkmodules.c (find_module): Use G_MODULE_BIND_LAZY when
opening modules.
|
|
|
|
|
|
|
|
|
| |
2005-09-01 Matthias Clasen <mclasen@redhat.com>
* gdk/*.c: Intern some more strings.
* gtk/gtkintl.h:
* gtk/*.c: Define an I_() macro and use it instead of the
bulky g_intern_static_string().
|