Skip to content

Instantly share code, notes, and snippets.

@scriptum scriptum/doc == NULL
Last active Jan 3, 2016

Embed
What would you like to do?
All doc == NULL in Geany
./plugins/export.c:163: g_return_if_fail(doc != NULL);
./plugins/htmlchars.c:584: if (doc != NULL)
./plugins/htmlchars.c:651: if (doc != NULL && sci_has_selection(doc->editor->sci))
./plugins/filebrowser.c:337: if (doc == NULL || doc->file_name == NULL || ! g_path_is_absolute(doc->file_name))
./plugins/filebrowser.c:503: if (doc != NULL && ! do_not_focus)
./plugins/saveactions.c:291: if (cur_doc == NULL)
./src/main.c:822: if (doc != NULL && main_status.opening_session_files)
./src/main.c:832: if (doc != NULL)
./src/msgwindow.c:667: if (doc == NULL) /* file not already open */
./src/msgwindow.c:670: if (doc != NULL)
./src/msgwindow.c:789: if (doc != NULL)
./src/msgwindow.c:1092: if (doc != NULL)
./src/navqueue.c:153: g_return_val_if_fail(new_doc != NULL, FALSE);
./src/navqueue.c:159: if (old_doc != NULL && old_doc->file_name)
./src/navqueue.c:180: if (doc == NULL)
./src/symbols.c:1701: g_return_val_if_fail(doc != NULL, FALSE);
./src/symbols.c:1948: if (old_doc != NULL && old_doc->tm_file)
./src/symbols.c:2023: if (doc == NULL || doc != old_doc || old_tag_types != tag_types)
./src/symbols.c:2212: if (doc == NULL) /* reset current function */
./src/symbols.c:2270: if (doc != NULL)
./src/keybindings.c:1047: if (doc != NULL)
./src/keybindings.c:1537: if (doc == NULL)
./src/keybindings.c:1588: if (doc == NULL)
./src/keybindings.c:1660: if (doc != NULL)
./src/keybindings.c:1788: if (doc == NULL)
./src/keybindings.c:1823: if (doc == NULL)
./src/keybindings.c:1843: if (doc == NULL)
./src/keybindings.c:1887: if (doc == NULL)
./src/keybindings.c:2011: if (doc == NULL || focusw != GTK_WIDGET(doc->editor->sci))
./src/keybindings.c:2313: if (doc == NULL || focusw != GTK_WIDGET(doc->editor->sci))
./src/keybindings.c:2408: if (doc == NULL || focusw != GTK_WIDGET(doc->editor->sci))
./src/keybindings.c:2441: if (doc == NULL)
./src/keybindings.c:2522: if (doc == NULL || focusw != GTK_WIDGET(doc->editor->sci))
./src/ui_utils.c:323: if (doc == NULL)
./src/ui_utils.c:326: if (doc != NULL)
./src/ui_utils.c:362: if (doc == NULL)
./src/ui_utils.c:367: if (doc != NULL)
./src/ui_utils.c:448: if (doc == NULL)
./src/ui_utils.c:478: if (doc == NULL)
./src/ui_utils.c:505: enable = (doc == NULL) ? FALSE : sci_has_selection(doc->editor->sci);
./src/ui_utils.c:527: if (doc == NULL || doc->file_type == NULL)
./src/ui_utils.c:895: if (doc == NULL)
./src/ui_utils.c:898: if (doc == NULL)
./src/ui_utils.c:2728: if (doc != NULL)
./src/tools.c:359: g_return_if_fail(doc != NULL && command != NULL);
./src/tools.c:700: g_return_if_fail(doc != NULL);
./src/tools.c:855: g_return_if_fail(doc != NULL);
./src/tools.c:959: g_return_if_fail(doc != NULL);
./src/prefs.c:1304: ui_save_buttons_toggle((doc != NULL) ? doc->changed : FALSE);
./src/notebook.c:307: if (doc != NULL && event->button == 1)
./src/notebook.c:477: if (doc == NULL || !doc->real_path)
./src/printing.c:627: if (doc == NULL)
./src/document.c:220: g_return_val_if_fail(doc != NULL, -1);
./src/document.c:302: g_return_val_if_fail(doc != NULL, NULL);
./src/document.c:321: g_return_if_fail(doc != NULL);
./src/document.c:347: g_return_if_fail(doc != NULL);
./src/document.c:396: g_return_if_fail(doc != NULL);
./src/document.c:433: g_return_if_fail(doc != NULL);
./src/document.c:445: g_return_if_fail(doc != NULL);
./src/document.c:513: if (doc != NULL && doc->file_name == NULL && ! doc->changed)
./src/document.c:581: g_return_val_if_fail(doc != NULL, FALSE);
./src/document.c:698: g_assert(doc != NULL);
./src/document.c:1095: gboolean reload = (doc == NULL) ? FALSE : TRUE;
./src/document.c:1126: if (doc != NULL)
./src/document.c:1134: if (reload || doc == NULL)
./src/document.c:1149: g_return_val_if_fail(doc != NULL, NULL); /* really should not happen */
./src/document.c:1311: g_return_val_if_fail(doc != NULL, FALSE);
./src/document.c:1317: return (new_doc != NULL);
./src/document.c:1326: g_return_val_if_fail(doc != NULL, FALSE);
./src/document.c:1375: g_return_if_fail(doc != NULL);
./src/document.c:1440: g_return_val_if_fail(doc != NULL, FALSE);
./src/document.c:1461: g_return_val_if_fail(doc != NULL, FALSE);
./src/document.c:1655: g_return_val_if_fail(doc != NULL, g_strdup(g_strerror(EINVAL)));
./src/document.c:1706: g_return_val_if_fail(doc != NULL, FALSE);
./src/document.c:1835: g_return_val_if_fail(doc != NULL, FALSE);
./src/document.c:1910: g_return_val_if_fail(doc != NULL && text != NULL, -1);
./src/document.c:1990: g_return_val_if_fail(doc != NULL && find_text != NULL && replace_text != NULL, -1);
./src/document.c:2080: g_return_val_if_fail(doc != NULL && find_text != NULL && replace_text != NULL, 0);
./src/document.c:2114: g_return_if_fail(doc != NULL && find_text != NULL && replace_text != NULL);
./src/document.c:2214: g_return_val_if_fail(doc != NULL && find_text != NULL && replace_text != NULL, FALSE);
./src/document.c:2468: if (doc == NULL || new_encoding == NULL ||
./src/document.c:2530: g_return_if_fail(doc != NULL);
./src/document.c:2548: g_return_val_if_fail(doc != NULL, FALSE);
./src/document.c:2571: g_return_if_fail(doc != NULL);
./src/document.c:2627: g_return_val_if_fail(doc != NULL, FALSE);
./src/document.c:2640: g_return_if_fail(doc != NULL);
./src/document.c:2697: g_return_if_fail(doc != NULL);
./src/document.c:2756: g_return_val_if_fail(doc != NULL, NULL);
./src/document.c:2782: g_return_val_if_fail(doc != NULL, NULL);
./src/document.c:3010: g_return_val_if_fail(doc != NULL, FALSE);
./src/document.c:3156: g_return_if_fail(doc != NULL);
./src/dialogs.c:594: g_return_val_if_fail(doc != NULL, FALSE);
./src/dialogs.c:1175: if (doc == NULL || doc->file_name == NULL)
./src/search.c:394: g_return_if_fail(doc != NULL);
./src/search.c:550: g_return_if_fail(doc != NULL);
./src/search.c:723: if (doc == NULL)
./src/search.c:1115: if (doc != NULL)
./src/search.c:1224: g_return_val_if_fail(doc != NULL, 0);
./src/search.c:1298: if (doc == NULL)
./src/search.c:2128: g_return_val_if_fail(doc != NULL, 0);
./src/search.c:2167: g_return_if_fail(doc != NULL);
./src/search.c:2257: g_return_if_fail(doc != NULL);
./src/sidebar.c:208: if (doc == NULL || doc->file_type == NULL || ! filetype_has_tags(doc->file_type))
./src/sidebar.c:908: if (doc != NULL)
./src/filetypes.c:1049: if (doc == NULL)
./src/filetypes.c:1117: if (ignore_callback || doc == NULL || ! gtk_check_menu_item_get_active(menuitem))
./src/filetypes.c:1591: if (doc != NULL)
./src/callbacks.c:175: if (doc != NULL && cur_page >= 0)
./src/callbacks.c:224: if (doc != NULL)
./src/callbacks.c:266: g_return_if_fail(doc != NULL);
./src/callbacks.c:280: g_return_if_fail(doc != NULL);
./src/callbacks.c:298: if (IS_SCINTILLA(focusw) && doc != NULL)
./src/callbacks.c:318: if (IS_SCINTILLA(focusw) && doc != NULL)
./src/callbacks.c:338: if (IS_SCINTILLA(focusw) && doc != NULL)
./src/callbacks.c:361: if (IS_SCINTILLA(focusw) && doc != NULL && sci_has_selection(doc->editor->sci))
./src/callbacks.c:415: g_return_if_fail(doc != NULL);
./src/callbacks.c:544: g_return_if_fail(doc != NULL);
./src/callbacks.c:558: g_return_if_fail(doc != NULL);
./src/callbacks.c:570: g_return_if_fail(doc != NULL);
./src/callbacks.c:618: if (doc != NULL)
./src/callbacks.c:663: g_return_if_fail(doc != NULL);
./src/callbacks.c:702: g_return_if_fail(doc != NULL);
./src/callbacks.c:726: g_return_if_fail(doc != NULL);
./src/callbacks.c:865: g_return_if_fail(doc != NULL);
./src/callbacks.c:877: g_return_if_fail(doc != NULL);
./src/callbacks.c:892: g_return_if_fail(doc != NULL);
./src/callbacks.c:905: g_return_if_fail(doc != NULL);
./src/callbacks.c:941: g_return_if_fail(doc != NULL);
./src/callbacks.c:979: g_return_if_fail(doc != NULL);
./src/callbacks.c:1068: g_return_if_fail(doc != NULL);
./src/callbacks.c:1087: g_return_if_fail(doc != NULL);
./src/callbacks.c:1159: if (doc == NULL || doc->file_type == NULL)
./src/callbacks.c:1184: if (doc == NULL || doc->file_type == NULL)
./src/callbacks.c:1205: g_return_if_fail(doc != NULL);
./src/callbacks.c:1223: g_return_if_fail(doc != NULL);
./src/callbacks.c:1242: g_return_if_fail(doc != NULL);
./src/callbacks.c:1263: g_return_if_fail(doc != NULL);
./src/callbacks.c:1283: g_return_if_fail(doc != NULL);
./src/callbacks.c:1343: g_return_if_fail(doc != NULL);
./src/callbacks.c:1370: g_return_if_fail(doc != NULL);
./src/callbacks.c:1379: g_return_if_fail(doc != NULL);
./src/callbacks.c:1388: g_return_if_fail(doc != NULL);
./src/callbacks.c:1403: g_return_if_fail(doc != NULL);
./src/callbacks.c:1412: g_return_if_fail(doc != NULL);
./src/callbacks.c:1421: g_return_if_fail(doc != NULL);
./src/callbacks.c:1460: g_return_if_fail(doc != NULL);
./src/callbacks.c:1479: g_return_if_fail(doc != NULL);
./src/callbacks.c:1488: g_return_if_fail(doc != NULL);
./src/callbacks.c:1497: g_return_if_fail(doc != NULL);
./src/callbacks.c:1506: g_return_if_fail(doc != NULL);
./src/callbacks.c:1515: g_return_if_fail(doc != NULL);
./src/callbacks.c:1626: g_return_if_fail(doc != NULL);
./src/callbacks.c:1683: g_return_if_fail(doc != NULL);
./src/callbacks.c:1703: g_return_if_fail(doc != NULL);
./src/callbacks.c:1823: g_return_if_fail(doc != NULL);
./src/callbacks.c:1856: g_return_if_fail(doc != NULL);
./src/callbacks.c:1890: g_return_if_fail(doc != NULL);
./src/callbacks.c:1900: g_return_if_fail(doc != NULL);
./src/callbacks.c:2123: if (doc != NULL && width > 0)
./src/callbacks.c:2151: if (doc != NULL && document_detect_indent_type(doc, &type))
./src/callbacks.c:2164: if (doc != NULL && document_detect_indent_width(doc, &width))
./src/keyfile.c:344: if (doc != NULL && doc->real_path != NULL)
./src/build.c:247: if (doc != NULL)
./src/build.c:347: if (doc == NULL)
./src/build.c:349: if (doc != NULL)
./src/build.c:408: if (doc != NULL)
./src/build.c:720: if (doc != NULL && doc->file_name != NULL)
./src/build.c:750: if (doc != NULL && filename != NULL)
./src/build.c:783: if (!((doc != NULL && !EMPTY(doc->file_name)) || !EMPTY(dir)))
./src/build.c:816: build_info.file_type_id = (doc == NULL) ? GEANY_FILETYPES_NONE : doc->file_type->id;
./src/build.c:945: if (doc == NULL || doc->file_name == NULL)
./src/build.c:1397: if (doc == NULL)
./src/build.c:1581: if (doc == NULL)
./src/build.c:1583: have_path = doc != NULL && doc->file_name != NULL;
./src/build.c:1676: run_sensitivity &= (doc != NULL);
./src/build.c:2030: if (bc != NULL && (src > dst || (grp == GEANY_GBG_FT && (doc == NULL || doc->file_type == NULL))))
./src/build.c:2332: if (doc != NULL)
./src/toolbar.c:291: gboolean doc_changed = (doc != NULL) ? doc->changed : FALSE;
./src/sidebar.c.close-middle-click:208: if (doc == NULL || doc->file_type == NULL || ! filetype_has_tags(doc->file_type))
./src/sidebar.c.close-middle-click:908: if (doc != NULL)
./src/utils.c:894: if (doc != NULL)
./src/vte.c:524: if (doc != NULL)
./src/vte.c:833: g_return_if_fail(doc != NULL);
./src/templates.c:110: if (doc == NULL)
./src/templates.c:113: g_return_if_fail(doc != NULL);
./src/templates.c:439: g_return_val_if_fail(doc != NULL, NULL);
./src/templates.c:506: const gchar *file_type_name = (doc != NULL) ? doc->file_type->name : "";
./src/project.c:447: if (doc != NULL)
./src/encodings.c:361: if (ignore_callback || doc == NULL || encodings[i].charset == NULL ||
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.