Branch: refs/heads/document-messages Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Sun, 03 Jun 2012 14:56:31 Commit: 1d6efd332e6720b7d5305e94e54f1f02c934f772 https://github.com/geany/geany/commit/1d6efd332e6720b7d5305e94e54f1f02c934f7...
Log Message: ----------- Remove an useless NULL check and error message
gtk_builder_new() cannot fail but in case of memory exhaustion, where the GLib allocator will abort anyway.
Modified Paths: -------------- src/ui_utils.c
Modified: src/ui_utils.c 5 files changed, 0 insertions(+), 5 deletions(-) =================================================================== @@ -2213,11 +2213,6 @@ void ui_init_builder(void) return;
builder = gtk_builder_new(); - if (! builder) - { - g_error("Failed to initialize the user-interface"); - return; - }
gtk_builder_set_translation_domain(builder, GETTEXT_PACKAGE);
@@ Diff output truncated at 100000 characters. @@
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: TBD).